Hi there.
I'd like to be able to group together inputs on an HTML form inside,
say, a <div> or <fieldset> and then use javascript to iterate through
the controls in the group and disable them. Is this possible?
The idea is that I can create a reusable function that will take two
arguments - a checkbox object and a group object and when the checkbox
is ticked, the function will disable all inputs in the group.
Thanks in advance for your help.
Chris Beach
I'd like to be able to group together inputs on an HTML form inside,
say, a <div> or <fieldset> and then use javascript to iterate through
the controls in the group and disable them. Is this possible?
The idea is that I can create a reusable function that will take two
arguments - a checkbox object and a group object and when the checkbox
is ticked, the function will disable all inputs in the group.
Thanks in advance for your help.
Chris Beach
Comment