/ Published in: jQuery

simply disable an input (type=text) using Jquery.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//jQuery < 1.6 jQuery('input[name=name_of_the_input]').attr('disabled',true) //jQuery >= 1.6 jQuery('input[name=name_of_the_input]').prop('disabled',true)
Comments
