Jump to content

tardebut

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tardebut

  • Rank
    Newbie
  1. Hi all, I need a pair of select boxes to behave like, 1- Just one of them can be checked at any time (like radiobuttoms)2- Both can be unchecked at will (like select boxes). The code bellow is what I have written but it is not working, <html><head><script>function reCheck(k){if(k<3){document.forms["myform"][k+3].checked = false; } else{document.forms["myform"][k-3].checked = false;}}</script></head><body><form name = "myform" action="dothis.php" method="post"><table id="MyTable"><?phpfor($i=0;$i<=2;$i++){$j = $i + 3;echo "<tr>
×
×
  • Create New...