|
-
Apr 11th, 2002, 07:30 AM
#1
Thread Starter
Addicted Member
IFRAMES and Javascript?
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?
-
Apr 11th, 2002, 10:46 AM
#2
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.
-
Apr 12th, 2002, 05:48 AM
#3
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|