Hello
I have a code which displays a hidden div on the screen.
Upon a certain action (user clicking a link), I do the following in Javascript:
* I make that div visible.
The javascript code that I have in the page that gets loaded in the IFrame need to be able to refer to the page that launched the IFrame.
The reason is that the javascript code in the target page will later remove that inner IFrame from the div (in the original page).
Here is the flow:
* User performs an action and an IFrame appears on the screen.
I must use an IFrame, because the content that will be displayed in the IFrame is large and I don’t want to load it if it will not be needed (the user will not click the link). I use the IFrame to load it on demand.
How can I send a valid reference of the original page to the target page that gets loaded in the IFrame?
thanks