Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php disable buutton

<input type="button" value="Add to Cart" <?php if ($prod_qty == '0'){ ?> disabled <?php   } ?> onclick="addtocart(<?php echo $row["prod_id"]?>)" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #disable #buutton
ADD COMMENT
Topic
Name
3+7 =