How to disable the Input,textarea,selector using this code in the Fieldset

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-06-05T22:14:59Z Indexed on 2010/06/05 22:22 UTC
Read the original article Hit count: 202

Filed under:

Hello friends I am using this code in my view..

  $("#Fieldset1").find("input, select,textarea").attr('disabled', 'disabled');

this code i am in one view...for one user only one time...if I select 3 users this view will execute three times.. using this code I can able to disable inputfor one one time. its not doing for second time that is second user on the page.

why its happening? I need to disable for how many users I select....

thanks..

© Stack Overflow or respective owner

Related posts about jQuery