$("#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", "");
});
Feel free to contact me for any help related to jQuery. I will gladly help you.
Monday, October 11, 2010
Enable/Disable all text boxes using jQuery
Posted by
jQueryByExample
Labels:
jQuery,
jQuery Code Examples,
Jquery Code Snippets,
jQuery Codes,
jQuery Tips
Recent Post
Subscribe to:
Post Comments (Atom)