K
Kwart246
Hello,
Is it possible to use a text link to enable a radio button, just like some
windows interfaces, when the text is clicked, the radio button gets
selected.....
This works for a checkbox:
in head:
function changeBox(cbox) {
box = eval(cbox);
box.checked = !box.checked;
}
Then as link:
<a href="" onClick="changeBox('document.form1.textfield');return
false">click this<a>
But I want it to select a radio button instead of a checkbox....
anyone?
Is it possible to use a text link to enable a radio button, just like some
windows interfaces, when the text is clicked, the radio button gets
selected.....
This works for a checkbox:
in head:
function changeBox(cbox) {
box = eval(cbox);
box.checked = !box.checked;
}
Then as link:
<a href="" onClick="changeBox('document.form1.textfield');return
false">click this<a>
But I want it to select a radio button instead of a checkbox....
anyone?