|
-
Apr 20th, 2003, 12:26 AM
#1
Thread Starter
Member
whats wrong wif this???
whats wrong with this piece of code?
Code:
var formLen=document.forms[0].length;
var stopNum=formLen-1;
for(var a=0;a<stopNum;a++)
{
document.forms[0].elements[a].checked=getCookie(document.forms[0].elements[a].name);
}
if say, i check a checkbox, then uncheck it. I go to another page and return, the value should be false, but somehow it always goes to true.
Any checkbox that I check and then uncheck will go back to being checked
ANyone can help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|