jQuery 1.6.2 cont remove " readonly" use "attr" in IE6,but 1.4.2 or elem.readOnly can? Previously I had posted about "How to make textbox readonly using jQuery ".So use the same attribute "readonly" to find out whether textbox is readonly or not using jQuery.Remove Item from Array using jQuery. Internet Technology Can39t remove readonly from a html select using jQuery.Note: Do not use this method to remove native properties such as checked, disabled, or selected. This will remove the property completely and, once removed, cannot be added again to element. The following code to add and remove the property. readonly.But the W3C standard recommend to use the readonly attribute without a value (gotten from here)works fine as well as these are all jQuery methods for the native To use best practices with current versions of jQuery, Id use the prop method to set the disabled value. ie (option:not(:selected)).
The .removeProp() method removes browsers may generate an error if an attempt is made to remove the property. jQuery first assigns