Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to disable button in jquery

$("#button").attr("disabled", true);
//---------------------OR--------------------
jQuery("#button").attr("disabled", true);
// use jQuery instead of $ to avoid conflict with other JS libraies.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #button #jquery
ADD COMMENT
Topic
Name
9+1 =