How do I pass information from my one IFRAME to the main page and vice versa? Its not like a normal frame, I tried the parent.frames[x] stuff but that didnt seem to work. Any thoughts?
Printable View
How do I pass information from my one IFRAME to the main page and vice versa? Its not like a normal frame, I tried the parent.frames[x] stuff but that didnt seem to work. Any thoughts?
well an Iframe has a name just like a regualr frame, so it shouldn't be to hard. just give the link a target name and it should work.
your right, its just as easy.
FROM IFRAME to MAIN WINDOW
window.parent.document.theform.theobject.value = "This";
FROM MAIN WINDOW to IFRAME
parent.frames[0].theform.theobject.value = "some jizunk";
just in case someone is looking for this in the future