By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

return search results on same page

P: n/a
PI
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire

Jul 19 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.
The target of the form is the same page. You check the page to see if data
was submitted to it and display the results when necessary.

In other words, you reuse the same page.

Anything more than that involves client side scripting.
Jul 19 '07 #2

P: n/a

"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire
Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."

Richard.

Jul 20 '07 #3

P: n/a
Richard wrote:
"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
>>Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire


Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."
Yeah, it does. It means that when the user first hits the page, it
performs an empty search.

Not the best architecture in the world, but if it works it works.
Jul 20 '07 #4

P: n/a

"Sanders Kaufman" <bu***@kaufman.netwrote in message
news:jS*******************@newssvr21.news.prodigy. net...
Richard wrote:
>"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googleg roups.com...
>>>Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire


Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."

Yeah, it does. It means that when the user first hits the page, it
performs an empty search.

Not the best architecture in the world, but if it works it works.
It performs "no query" the first time the page loads.

It was sort of a hint that the results and the search are in the same file,
not that it searches every time the page loads...

Richard
Jul 21 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.