Click to See Complete Forum and Search --> : iframes, safari experimental results


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

jitseschaafsma
07-30-2003, 07:23 AM
if i delete the alert statement and include a delay to wait for the response of the server) Mozilla also creates only one record.

However if a set the target of the form with a mozilla creates two records again.

Their is some strange thing going on that i do not understand (on a windows platform no problems however)
Jitse