HI There,
I have a simple checkbox called 'checkall' ....
<input name = "checkall" type = "checkbox" onclick = "checkAll()" />
On clicking this checkbox I wish to set ALL of the following checkboxes as 'on'
by invoking "checkAll()".
<input name = "check[]" type = "checkbox" value = "'value1'"/>
<input name = "check[]" type = "checkbox" value = "'value2'"/>
<input name = "check[]" type = "checkbox" value = "'value3'"/>
I NEED to use arrays as shown above,
Any help appreciated,
regards,
Steven M
I have a simple checkbox called 'checkall' ....
<input name = "checkall" type = "checkbox" onclick = "checkAll()" />
On clicking this checkbox I wish to set ALL of the following checkboxes as 'on'
by invoking "checkAll()".
<input name = "check[]" type = "checkbox" value = "'value1'"/>
<input name = "check[]" type = "checkbox" value = "'value2'"/>
<input name = "check[]" type = "checkbox" value = "'value3'"/>
I NEED to use arrays as shown above,
Any help appreciated,
regards,
Steven M