View Single Post
  #1 (permalink)  
Old Jan 14th, 2007, 00:22
vHTML vHTML is offline
New Member
Join Date: Jan 2007
Location: london
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow search query to google as <iframe> source

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> in the results.htm page.
So if I enter the word "watches" into a textbox, the google search results would be displayed in an <iframe> in the results.htm 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>, so at the moment the results page is without any iframes.
here is the demo http://scratchpad.50webs.com/iframe
I tried all sorts of stuff, played around with javascript, but nothing. Scanned a million forums through google, but still nothing.
How can I make the <iframe> on the "results.htm" page to display the google search for the entered word, automatically when the page loads, and still have the textbox on results.htm fill up with the passed textbox value from the first page?
thanks a bunch!!
vHTML
Reply With Quote