Hey all I was just wondering if FireFox has a bug. It seems that when I use this code:
---------------------------
<html>
<head>
<body>
outside form tags<br>
<button onClick="javascript:window.location.href='index.html'">Reset</button>
<br><br>
<form>
inside form tags<br>
<button onClick="javascript:window.location.href='index.html'">Reset</button>
</form>
</body>
</html>
------------------------------
The button does not work when inside the form tags but does work when outside. IE and NS6 work fine both ways.
Does anyone else have this problem? Is it a bug w/ FireFox?
Thanks.
- Shu
---------------------------
<html>
<head>
<body>
outside form tags<br>
<button onClick="javascript:window.location.href='index.html'">Reset</button>
<br><br>
<form>
inside form tags<br>
<button onClick="javascript:window.location.href='index.html'">Reset</button>
</form>
</body>
</html>
------------------------------
The button does not work when inside the form tags but does work when outside. IE and NS6 work fine both ways.
Does anyone else have this problem? Is it a bug w/ FireFox?
Thanks.
- Shu