Jump to content

Passing variables to IFrames


Recommended Posts

I cant get my script to pass a variable ( or even think how to go about it actually!) to an Iframe I have nested in a hidden DIV.

 

really to sum things up.

 

Page->user clicks add to basket ( iframe in top right corner refreshes(WORKS) and a hidden div shrouding the web page appears with the current shopping basket in it)

 

But I cant get the ID associated with 'adding' passed to the IFrame.

I have this

 

?action=add&ID= ID

 

Not sure how I get this (or even just the ID ) passed as a variable to the IFrame so that the basket class I have can GET it and store it as an 'added item'

 

Anyone help?

Link to comment
https://forums.phpfreaks.com/topic/107872-passing-variables-to-iframes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.