find on a page button or form

J

jerry

Hi,
I am trying to put a find on a single page button or form or script that
would search only one page of a site.
Like a one page yellow pages.
There would be multiple businesses selling multiple products on a page.
Each business would list the products they sell.
when a person comes onto the page and enters find or search words in a box
the results would show just what was on that one page, not the whole website.
Seems simple but I cannot find anything on just a one page find button.
Any help would be greatly appreciated as I have spent most of this Sunday
trying to find out how to do this.
 
R

Rick Sparks

Jerry... If I were doing this, I think I'd just give instructions on the top
of the page on how to have the browser do the search, since it's easy. (eg,
"if you're using Firefox, go to Edit, find on this page... and type in the
name of the company you're looking for"... or.... "if using Firefox, type
Ctrl+F and type in the name of the company you're looking for" and give
similar instructions for IE.

Not elegant, but gets the job done.
..... Rick
 
J

jerry

Thanks Rick, yes I was trying to get around that, but that is maybe the way
to go.
 
S

Stefan B Rusynko

See http://www.javascript-page.com/pgsearch.html

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Thanks Rick, yes I was trying to get around that, but that is maybe the way
| to go.
|
| "Rick Sparks" wrote:
|
| > Jerry... If I were doing this, I think I'd just give instructions on the top
| > of the page on how to have the browser do the search, since it's easy. (eg,
| > "if you're using Firefox, go to Edit, find on this page... and type in the
| > name of the company you're looking for"... or.... "if using Firefox, type
| > Ctrl+F and type in the name of the company you're looking for" and give
| > similar instructions for IE.
| >
| > Not elegant, but gets the job done.
| > .... Rick
| >
| > "jerry" wrote:
| >
| > > Hi,
| > > I am trying to put a find on a single page button or form or script that
| > > would search only one page of a site.
| > > Like a one page yellow pages.
| > > There would be multiple businesses selling multiple products on a page.
| > > Each business would list the products they sell.
| > > when a person comes onto the page and enters find or search words in a box
| > > the results would show just what was on that one page, not the whole website.
| > > Seems simple but I cannot find anything on just a one page find button.
| > > Any help would be greatly appreciated as I have spent most of this Sunday
| > > trying to find out how to do this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top