Try: $("textarea.news01").attr("disabled", "true");

Glen

On 10/10/06, Eriksen Costa < [EMAIL PROTECTED]> wrote:
Hello people,

I was searching for a way to disable form in jQuery. I searched the API and dont found anything about the disabled attribute. How can I disable form fields in jQuery?

I tried:

$("textarea.news01 ").id().disabled = true;
-> return the ID              -> html attribute

So, how can I manage this in jQuery?

Thanks a lot,
Eriksen Costa
www.marinheirobrasil.com.br

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to