Hi
Just learning JavaScript and I'm trying to reference radio buttons generated
by php, the relevant lines are:
<td width="9%" align="center" class="bg-tb-td"><input name="editArticle"
type="radio" value=" <?php echo $row_rsArticles['articleID']; ?>" onclick =
"document.form1.deleteArticle.checked='false') "/></td>
<td width="9%" align="center" class="bg-tb-td"><input
name="deleteArticle" type="radio" value=" <?php echo
$row_rsArticles['articleID']; ?>" onclick =
"document.form1.editArticle.checked='false')"/></td>
I am trying to make the buttons mutually exclusive - you can see the onclick
event handlers where I am trying to do this. However I can see that this is
wrong because it doesn't allow unique identification for each radio button.
I want a click on one radio button to automatically uncheck its partner.
Any help greatly appreciated.
Thanks
Ian