latest Post

Enable/Disable all text boxes using jQuery

Enable/Disable all text boxes using jQuery

$("#btnEnableDisable").toggle(function() {

 $("INPUT[type=text],INPUT[type=password],TEXTAREA").attr("disabled", "disabled");

 $(this).attr("disabled", "");

}, function() {

 $("INPUT[type=text],INPUT[type=password],TEXTAREA").attr("disabled", "");

});

About Mallikarjun A

Mallikarjun A
Recommended Posts × +

0 comments:

Post a Comment