Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery toggle attribute disabled

$('#el').prop('disabled', function(i, v) { return !v; });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #toggle #attribute #disabled
ADD COMMENT
Topic
Name
2+9 =