jitseschaafsma
07-29-2003, 06:54 AM
I am using Filemaker, CDML and IE 5.2.3.
My pages contains some JS to submit a form to an iframe.
This code works good in a number of browser on windows platform.
However my IE has some problems with.
basicly this is the code (some of it )
<form action="FMPro" method="post" name="controls3" target="frame2">
<input type="hidden" name="-db" value="Projectmedewerkers.fp5">
<input type="hidden" name="-lay" value="L1">
<input type="hidden" name="-format" value="newproject.htm">
<input type="hidden" name="-error" value="newproject.htm">
<input type="hidden" name="ProjectId" value=[FMP-CurrentToken:5]>
<input type="hidden" name="PersId" value=[FMP-CurrentToken:5]>
<input type="hidden" name="uurtarief" value=[FMP-CurrentToken:5]>
<input type="hidden" name="verkooptarief" value=[FMP-CurrentToken:5]>
<input type="hidden" name="Urenbudget" value = 0>
<input type="hidden" name="-New">
</form>
<iframe name="frame2" id="2" height="0" width="0"></iframe>
Now i have this JS call : document.forms[2].submit()
and indeed a new record is created.
However, when i try to create two records:
document.forms[2].submit()
delayMS()
document.forms[2].submit()
only one record is created.
Is their something wrong with my code or doe IE on the mac have problems with iframe.
Thanks for any suggestion
Jitse
My pages contains some JS to submit a form to an iframe.
This code works good in a number of browser on windows platform.
However my IE has some problems with.
basicly this is the code (some of it )
<form action="FMPro" method="post" name="controls3" target="frame2">
<input type="hidden" name="-db" value="Projectmedewerkers.fp5">
<input type="hidden" name="-lay" value="L1">
<input type="hidden" name="-format" value="newproject.htm">
<input type="hidden" name="-error" value="newproject.htm">
<input type="hidden" name="ProjectId" value=[FMP-CurrentToken:5]>
<input type="hidden" name="PersId" value=[FMP-CurrentToken:5]>
<input type="hidden" name="uurtarief" value=[FMP-CurrentToken:5]>
<input type="hidden" name="verkooptarief" value=[FMP-CurrentToken:5]>
<input type="hidden" name="Urenbudget" value = 0>
<input type="hidden" name="-New">
</form>
<iframe name="frame2" id="2" height="0" width="0"></iframe>
Now i have this JS call : document.forms[2].submit()
and indeed a new record is created.
However, when i try to create two records:
document.forms[2].submit()
delayMS()
document.forms[2].submit()
only one record is created.
Is their something wrong with my code or doe IE on the mac have problems with iframe.
Thanks for any suggestion
Jitse