jitseschaafsma
07-30-2003, 02:10 AM
<SCRIPT LANGUAGE=javascript>
function createproject(){
document.forms[0].submit()
alert("test")
document.forms[0].submit()
}
</SCRIPT>
<input type="image" SRC="btn_send_on.gif" onclick="createproject()">
<form action="FMPro" method="post" name="controls3" target="frame1">
<input type="hidden" name="-db" value="test.fp5">
<input type="hidden" name="-lay" value="L1">
<input type="hidden" name="-format" value="testpage.htm">
<input type="hidden" name="-error" value="testpage.htm">
<input type="hidden" name="-New">
</form>
</CENTER>
<iframe name="frame1" id="1" height="0" width="0"></iframe>
How it should work : two records created and no update of the (parent) window nor creation of new window.
These are the results:
Safari create a new empty page after the first submit, it only creates one record.
Mozilla does create two records, no additional windows created.
IE on mac : one record created, no additional window created !!!!!
Internet explorer on windows platform creates two record, no addiotional windows created
Why does safari create two windows and creates only one record
(* i am using FM 5.5 on OS 9.2.2 *)
Any researchers out there ?
Thanks Jitse
function createproject(){
document.forms[0].submit()
alert("test")
document.forms[0].submit()
}
</SCRIPT>
<input type="image" SRC="btn_send_on.gif" onclick="createproject()">
<form action="FMPro" method="post" name="controls3" target="frame1">
<input type="hidden" name="-db" value="test.fp5">
<input type="hidden" name="-lay" value="L1">
<input type="hidden" name="-format" value="testpage.htm">
<input type="hidden" name="-error" value="testpage.htm">
<input type="hidden" name="-New">
</form>
</CENTER>
<iframe name="frame1" id="1" height="0" width="0"></iframe>
How it should work : two records created and no update of the (parent) window nor creation of new window.
These are the results:
Safari create a new empty page after the first submit, it only creates one record.
Mozilla does create two records, no additional windows created.
IE on mac : one record created, no additional window created !!!!!
Internet explorer on windows platform creates two record, no addiotional windows created
Why does safari create two windows and creates only one record
(* i am using FM 5.5 on OS 9.2.2 *)
Any researchers out there ?
Thanks Jitse