|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
checkbox collection
Hi all,
if i have a collection of checkboxes with the same name: <input type="checkbox" name="test"> <input type="checkbox" name="test"> <input type="checkbox" name="test"> <input type="checkbox" name="test"> <input type="checkbox" name="test"> and i have another checkbox that will have to select/deselect all the checkboxes <input type="checkbox" name="checkAll" onClick="checkAllchk()"> is there a command to check/uncheck all checkboxes or i have to loop throughout the collection to do that? thanks alot in advance. |
|
#2
|
||||
|
||||
|
no direct command - you'll have to iterate through the collection. you know how to do that?
|
|
#3
|
||||
|
||||
|
|
|
#4
|
|||
|
|||
|
thanks, i know how to iterate through them.
thanks alot for your help . |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > checkbox collection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|