View Full Version : search query as a source of an <iframe>

01-13-2007, 09:46 PM
hello everyone :)

I am trying to make a page which would take a "entered" on search query from the previous page and display results in google with that query in an <iframe> on the second page.

So if I enter the word "watches" into a textbox, the google search results would be displayed in an <iframe> on the next page for the word "watches" with something like http://www.google.com/search?q= for "textValue".

I have did set up a demo, but was having all kinds of problem s with displaying the appropriate query in an <iframe>

here is the demo http://scratchpad.50webs.com/iframe

I tried all sorts of stuff, but nothing.

How can I make the <iframe> to be displayed on the "results.htm" page, containing the google search for the entered word, automatically when the page loads??

thanks a bunch!!