I posted here last week about a problem I was having incorporating javascript into a form within a php loop.
I have a for loop that creates multiple forms where each form looks like this:
<form name='f1' method='get' action='order.php?username=nhorton'>
<input type='checkbox' name='split' value='checked' onClick="javascript:window.location.href('order.php?username=<? echo "$username"; ?>>
</form>
I wanted to use the onClick tag to make clicking the checkbox go to a link. The above code was suggested and happily works, but apparently only on some browsers. It did nothing on navigator, safari, and a version of IE(i think something more recent than the following version), but worked on IE version 6.0.2800.1106 Does anyone have any idea what could be causing this compatability problem and how to solve it?thanks