[jQuery] Removing readonly attribute from textarea
All,
What's the 'correct' way to change a <textarea> to and from readonly. The following works for me, but I wanted to particularly check the removal:
$("#myTextArea").attr("readonly", "readonly"); // Make read-only
<br clear="all"> $("#myTextArea").attr("readonly", ""); // Make read-write
Thanks,
rob
--
Rob Desbois
Eml: <a href="mailto:rob.desbois@gmail.com">rob.desbois@gmail.com
</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/