Click to See Complete Forum and Search --> : update fileds in another frame


jondee
08-06-2003, 03:57 AM
I have three frames like :

<frameset rows="29%,71%" frameborder="no" border="0" framespacing="0">
<frame name="acctopFrame" frameborder="yes" scrolling="no" noresize src="accinftop.html">
<frameset rows="63%,8%" frameborder="no" border="0" framespacing="0">
<frame name="accmainFrame" frameborder="yes" scrolling="no" noresize src="accinfmain.html">
<frame name="accbotFrame" frameborder="yes" scrolling="no" noresize src="accinfbot.html">
</frameset>
</frameset>

And I want to update fields inside "accmainFrame" when I click on submit button from "acctopFrame".

I used a function defined in a javascript (and called in acctopFrame) :

parent.accmainFrame.document.toto.titi.value=tutu;

But it doesn't work.

Any idea ?

AdamBrill
08-06-2003, 07:21 AM
First of all, you don't need embeded framesets. This would do the same thing:<frameset rows="29%,63%,8%" frameborder="no" border="0" framespacing="0">
<frame name="acctopFrame" frameborder="yes" scrolling="no" noresize src="accinftop.html">
<frame name="accmainFrame" frameborder="yes" scrolling="no" noresize src="accinfmain.html">
<frame name="accbotFrame" frameborder="yes" scrolling="no" noresize src="accinfbot.html">
</frameset> Try using that and see if that fixes the problem...