toggle attribute jquery
// Troggle attribute in jquery
$( selector ).attr('disabled', function(_, attr){ return !attr});
Are there any code examples left?
New code examples in category Javascript
// Troggle attribute in jquery
$( selector ).attr('disabled', function(_, attr){ return !attr});