Hi guys,
On my page I dynamically create different checkboxes.
<input type="checkbox" name="ch1" value="some value"> option 1
<input type="checkbox" name="ch2" value="some value"> option 2
<input type="checkbox" name="ch3" value="some value"> option 3
<input type="checkbox" name="ch4" value="some value"> option 4
The reason they have different names is because of a different script which
allows me to shift-select a range of checkboxes. (there are 200+ on a page).
My Questions:
1. How can I have an alertbox popup when NONE of the checkboxes are checked
and the user submits the form?
2. How could I have a "select all" option on these checkboxes?
Any help would be so much appreciated!
Ond.
On my page I dynamically create different checkboxes.
<input type="checkbox" name="ch1" value="some value"> option 1
<input type="checkbox" name="ch2" value="some value"> option 2
<input type="checkbox" name="ch3" value="some value"> option 3
<input type="checkbox" name="ch4" value="some value"> option 4
The reason they have different names is because of a different script which
allows me to shift-select a range of checkboxes. (there are 200+ on a page).
My Questions:
1. How can I have an alertbox popup when NONE of the checkboxes are checked
and the user submits the form?
2. How could I have a "select all" option on these checkboxes?
Any help would be so much appreciated!
Ond.
Comment