ConfusedOfLife
04-04-2003, 10:15 PM
Hi,
Look at this script please:
<script>
rdButt = document.createElement("input");
rdButt.type = "radio";
rdButt.name = "nothin";
document.body.appendChild(rdButt);
</script>
I don't know what's wrong with it. I can see the radio button after running this script, but when I click on it, it doesn't get selected. I also tried to append it to a form ( I know that in NS a radio button should be inside a form or it doesn't function as you expect! ), but nothing changed.
Thanks in advance
Look at this script please:
<script>
rdButt = document.createElement("input");
rdButt.type = "radio";
rdButt.name = "nothin";
document.body.appendChild(rdButt);
</script>
I don't know what's wrong with it. I can see the radio button after running this script, but when I click on it, it doesn't get selected. I also tried to append it to a form ( I know that in NS a radio button should be inside a form or it doesn't function as you expect! ), but nothing changed.
Thanks in advance