I
Ian Swift
Have I found a bug in IE for the MAC, v5.2.2.
I have a simple html page:
<HTML>
<HEAD>
<script>
function doReport(){
document.frmMain.action="mac_test.htm"
document.frmMain.target="_new"
document.frmMain.submit()
}
</script>
</HEAD>
<BODY>
<form name=frmMain>
<input id=text3 name=text3><br>
<br>
<span onclick="doReport()">click 1</span><br>
<span onclick="alert('check what happens next')">click 2</span><br>
</form>
</BODY>
</HTML>
If you click on click 1 and then close the new window, then click on
click 2. What happens is after you click the ok for the alert a new
window opens which is like the form re-submits. However, no form data
is passed, so it isn't submitted.
If you remove the .action everything works fine.
Has anyone else seen this, heard of this or know a work-around. It's
really frustrating. It works perfectly on IE for the PC.
Ian Swift
I have a simple html page:
<HTML>
<HEAD>
<script>
function doReport(){
document.frmMain.action="mac_test.htm"
document.frmMain.target="_new"
document.frmMain.submit()
}
</script>
</HEAD>
<BODY>
<form name=frmMain>
<input id=text3 name=text3><br>
<br>
<span onclick="doReport()">click 1</span><br>
<span onclick="alert('check what happens next')">click 2</span><br>
</form>
</BODY>
</HTML>
If you click on click 1 and then close the new window, then click on
click 2. What happens is after you click the ok for the alert a new
window opens which is like the form re-submits. However, no form data
is passed, so it isn't submitted.
If you remove the .action everything works fine.
Has anyone else seen this, heard of this or know a work-around. It's
really frustrating. It works perfectly on IE for the PC.
Ian Swift