• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

js site search

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have been asked by a client to provide an internal javascript site search facility to allow users to search for video clips contained in a folder on the server. This will have to work client side as the site will be distributed on CD_ROm as well as online.

Heres the scenario:

1. A user visits the search page and is offered six drop-down boxes containing pre-defined search 'keywords'

2. The user selects the relevant keywords (any brop-downs not selected default to an "all" value) and submits the form.

3. The js code searches a pre-defined selection of files/pages for the selected search criteria (1 from each of the 6 drop-downs) and displays the search results with hyperlinks.

I have found js searches that use a keyword entered into a text box but as yet not one that uses drop-down boxes.

Not a problem in PHP but in client side js...HELP!!!

Thanks in advace :-)
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Webman,

So you develop web content for clients, yet you do not know the difference between Java and JavaScript (this is a Java forum!)

...anyway, if you have an example of using a free-text keyword search in JavaScript why can't you use a drop-down box with the same script and tweak it a little to take the value for the keyword from the drop-down instead of a text field?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic