Load form results into iframe on different page.
Posted: Thu Aug 05, 2004 9:35 pm
Hi everyone,
I'm new here, referred by a friend. He recommended you guys, as no one else on other forums could help. I'm a fairly accomplished php programmer, and love joining forum communities, so I'm excited to find another one to join.
Here's my problem.
I have index.php which has a form on it. The form contains a drop down box, and a submit button. Clicking the submit button pulls a page from my other server. The page it pulls is just a form, on a white background, and needs to remain this way, as other members of my network access this page.
I need a way to pull that page into a seperate page called quote.php, so it can match the visual style of my site. My initial thought is to use an iframe on the quote.php page, but I can't figure out how to send the results to it.
I could do it if the iframe is on the same page as the form, just by using the target tag of the form. But on a seperate page? Must be a way to do it with javascript?
Thanks in advance,
Josh
I'm new here, referred by a friend. He recommended you guys, as no one else on other forums could help. I'm a fairly accomplished php programmer, and love joining forum communities, so I'm excited to find another one to join.
Here's my problem.
I have index.php which has a form on it. The form contains a drop down box, and a submit button. Clicking the submit button pulls a page from my other server. The page it pulls is just a form, on a white background, and needs to remain this way, as other members of my network access this page.
I need a way to pull that page into a seperate page called quote.php, so it can match the visual style of my site. My initial thought is to use an iframe on the quote.php page, but I can't figure out how to send the results to it.
I could do it if the iframe is on the same page as the form, just by using the target tag of the form. But on a seperate page? Must be a way to do it with javascript?
Thanks in advance,
Josh