Check if Checkbox is checkd?
Posted
by streetparade
on Stack Overflow
See other posts from Stack Overflow
or by streetparade
Published on 2010-03-25T12:03:23Z
Indexed on
2010/03/25
12:13 UTC
Read the original article
Hit count: 689
Im trying to get some checkbox with a specific name
document.getElementsByName("test");
Unfortunatley i cant check if it is checked or not here is the code
for(i=0;i<check.length;i++)
{
if(check[i].checked==true)
{
alert(check[i].value);
}
}
Is somewhere a typo?
© Stack Overflow or respective owner