My site content many pages and I would like to show Google search box
on everyday, however, I would like to show the search result in single
'Search Result' page, how can I submit the search result and show the
result without using 'Form'?
Thank you so much.
Regards,
Kevin
If I understand you correctly, you want to execute a search from one
page, while the search itself is on another page? If so, you could use
a piece of Javascript on both pages. On the one (sending) page, you
call the Javascript function on the other (receiving) page (either
using top.frame... when the search page is on another frame, or by
grabbing the search window in case it's in another window). More
simple, though, would be to just call the window by reloading its
content, using a GET that contains your search instruction:
function showsearchresult(query) {
searchwindow.location.href='ilovesearch.htm?query='+query;
}
Cheers,
Ruben