|
Philip
I hate to be a pain, but I tried to place your added script most anywhere in the original script to no avail. It does not seem to stop submission. I do get the alerts though.
Here is my actual form. It is within a php for loop.
<FORM id="form1" name="form1" method="post" action="compare.php" onsubmit = "return showchoices('vid[]')" >
<input type="submit" value="Submit">
<input type="checkbox" name="vid[]" value= "<?php echo $row["version_id"] ;?>" onclick="chkChecks('vid[]')" />
I appreciate your patience.
|