Rob Desbois schrieb: > 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 > $("#myTextArea").attr("readonly", ""); // Make read-write Have you tried $("#myTextArea").attr("readonly", true/false);? > > Thanks, > rob > > -- > Rob Desbois > Eml: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > ------------------------------------------------------------------------ > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ >
-- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/