Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Thanked 0 Times in 0 Posts

    Question JavaScript Search Engine - Drop Down Menu???

    I was wondering if anyone could point me in the right direction,

    I am trying to use a JavaScript search engine for my website as this is most convenient for me, however all the scripts that I have come across only have the standard search box, I would like to add several drop down selection menus to the search also. I can easily add the HTML into where I want them but I am struggling to actual incorporate them into the search.

    Would anyone be able to help me or point me in the right direction? Below is the original search box that the script was written for:

    <form method=get action="javascript:void(0)" onsubmit="search(this); return false;">
    <tr><td><input type=text name=srchval value="">
    <input type=submit value="Search"></td></tr>

    And the start of the JavaScript is:

    function search(frm) {
    win = window.open("","","scrollbars");
    txt = frm.srchval.value.split(" ");
    txt = frm.drop1.value.split("who");
    fnd = new Array(); total=0;
    for (i = 0; i < item.length; i++) {

  • #2
    Regular Coder
    Join Date
    Jan 2004
    San Antonio, TX
    Thanked 0 Times in 0 Posts

    Cool Not sure if this is what you want

    Try this website:


    I think this is what you are looking for, but if not, it should at least give you some options or ideas to get what you need.

    Hope this helps

    Imperial Spider


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts