[jQuery] Selecting readonly input text fields
I am using
http://jquery.com/src/latest.js
I have a bunch of <input type="text" readonly class="readonly" ... /> elements
on the page.
I would like to remove the readonly attribute and the readonly class so I would
first like to select these nodes.
$("input.readonly") works
But for some reason, $("//input[@readonly]") doesn't find them.
Why is this? What am I doing wrong?
Also, once I find them, how can I delete the 'readonly' attribute and remove
the readonly class?
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/