Using iFrame to post data into.... and out of.
Posted: Mon Jul 05, 2010 9:54 am
I have an issue where we are running a PHP site. It is showing a list of categories, but I need to be able to select one of the categories and the results appear inside the iFrame.
Then, you can select any of the results and the info will 'post' it back to the main content page where the iframe resides.
For example: you have a list of Car Makes (Ford, Opel etc). You select Ford, and in the iFrame, lots of form images appear, one for each model.
You then select a model, and it appears, via being posted to the URL, at the top of the main page.
I know about posting into URLS and all PHP stuff - it's the iFrame thing I have a problem with. Because we are allowing people to go back a page (which causes "Posting form" problem), and using that FORM method doesn't work.
Then, you can select any of the results and the info will 'post' it back to the main content page where the iframe resides.
For example: you have a list of Car Makes (Ford, Opel etc). You select Ford, and in the iFrame, lots of form images appear, one for each model.
You then select a model, and it appears, via being posted to the URL, at the top of the main page.
I know about posting into URLS and all PHP stuff - it's the iFrame thing I have a problem with. Because we are allowing people to go back a page (which causes "Posting form" problem), and using that FORM method doesn't work.