
October 10th, 2001, 03:21 AM
|
|
Member
|
|
Join Date: Mar 2001
Posts: 29
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Javascript problem
Hi!
I want to get the status (true or false) of a checkbox with Javascript. Normally, I use "document.myform.mycheckbox.checked", but in this case, "mycheckbox" is an array.
"document.myform.mycheckbox[0].checked" doesn't work.
"document.myform.mycheckbox[].checked" doesn't work.
"document.myform.mycheckbox.0.checked" doesn't work...
Who knows the answer?
Thanks!
|