Did you try
form1.radiobut[0].checked = true;
?
-----Original Message-----
From: kostas lagos [mailto:klag@i...]
Sent: Wednesday, March 12, 2003 12:07 AM
To: javascript
Subject: [javascript] displaying checkboxes checked
Hello all,
This might be a silly one but it seems i cant work around it
I have a hidden field from which i check its value..
If it equals the value from a checkbox out of a group i want this checkbox
to appear checked..Thats my idea of achieving that:
if(form1.radiobut[0].value==form1.getCheck.value) {
form1.radiobut[0].checked
}
Im not sure of how you make the checkbox checked
Thanks in advance
Kostas lagos