Page 1 of 1

Passing variables to an IFRAME?

Posted: Mon Feb 28, 2005 5:52 pm
by cbrian
Is it possible to pass variables into an IFRAME? If so, how do I do it?

Posted: Mon Feb 28, 2005 6:01 pm
by feyd
yes, via the url, or Javascript.. depending on what you need/want... however as discussed many times, iframes and frames in general are a pain to pass data around with/in

Posted: Mon Feb 28, 2005 6:01 pm
by Chris Corbyn
Never done it and haven't really ever worked with IFRAMES but if you can link to them using

Code: Select all

<a href="yadd_yadda_yadda.php" target="your_iframe">Link here</a>
then you could do it using $_GET

Posted: Mon Feb 28, 2005 6:10 pm
by cbrian
okay, thanks.