Hello friends I am using this code in my view..
Using this code I am disabling the fields when the view loads.. like this my view displyas for number of users which I am going to selct using this below code I am able to disable only first Fiedset not for other fieldsets?
why its happening? I need to disable for how many users I select….
thanks..
If you want to disable those input elements for all fieldsets:
The selector you are using (
#Fieldset1) does not seem to reference any part of your markup. What it means is “select me the element whose id is Fieldset1”. Since that element does not exists, nothing happens. You should read into the correct syntax and usage of jQuery selectors.Also, you can use the
:inputselector to substitute for all types of form input elements: