Hello All,
I have an <html> page with <frame>s as follows -:
<FRAMESET rows="55, 100%" frameborder="no" >
<FRAME src="../TopFrame.jsp" scrolling="no" noresize
marginwidth="0" marginheight="0">
<FRAMESET cols="200, 100%, 0%" >
<FRAME src="Links.jsp" name="nav">
<FRAME src="NewTransportJobQR.jsp" name="content">
<FRAME name="hiddencontent" style="display:none">
</FRAMESET>
</FRAMESET>
In "content" <frame>, I have a <div> which submits a <form> and uses
the "hiddencontent" <frame> as its target. Once the <form> is
submitted, an alert() pops up from the "hiddencontent" <frame>. At
this point, I would like for the <div> in the "content" <frame> to be
hidden, but I do not know how to refer back to the document in the
"content" <frame> from the "hiddencontent" <frame>. How would I go
about doing this?
I would greatly appreciate any effort to help me. Thank you for your
time and consideration.
Thanks,
Sisilla
IvanFrank@gmail.com - 30 Nov 2007 15:14 GMT
I have an idea, try this:
(from 'hiddencontent')
parent.frames['content'].document.getElementById(...
fill our the rest of the code with the name of the div and the action
you want to take, let me know if this helps!
Sisilla - 30 Nov 2007 15:22 GMT
On Nov 30, 11:14 am, IvanFr...@gmail.com wrote:
> I have an idea, try this:
>
[quoted text clipped - 3 lines]
> fill our the rest of the code with the name of the div and the action
> you want to take, let me know if this helps!
Thank you very much, IvanFr! This works great! I was using the
contentDocument property which is not supported by IE. Again, thanks
so much. -Sisilla