I am dynamically displaying some check boxs just like the one we see in the
mail box.
my requirement is i should see that there should be atleast one checkbox unselected. If not stop furthur execution.
how can i do this?
below is the ref code.
-----------
DO WHILE NOT objRds.EOF
response.write "<input type=checkbox name=movemsgid value='"
Response.write objRds("headingid") &"' >"&strName&""
objRds.MoveNext
LOOP
-------------
onsubmit chk()
-----------------
function chk()
{
here i need to check if all the checkboxes are checked or not?
i know some ways but then iam looking for a short way like is there any property which returns true or faslse if all checkboxs are checked or not.
something like
return document.myforum.checkox.selectedall
which returns true if all the checkboxes are selected
is there anything like that?
}





Bookmarks