Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

toggle attribute jquery

// Troggle attribute in jquery
$( selector ).attr('disabled', function(_, attr){ return !attr});  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #toggle #attribute #jquery
ADD COMMENT
Topic
Name
1+4 =