![]() |
|
| use array to name checkbox |
| use array to name checkbox |
|
Site Admin ![]()
|
if you pass the name of the form checkbox variable:
function checkAll(_item) then you can change the hardcoded references to check_book as follows using the eval function WAS document.book.check_book[i].checked=true; IS eval("document.book."+_item+"[i].checked=true;"); |
|||||||||||||||
|
_________________ Cheers. -- Mike Robb |
||||||||||||||||
| use array to name checkbox |
|
||
|
|


