hchritton
08-13-2003, 08:43 AM
Can someone help me with this very frustrating problem?
I have two pieces of code that work fine with they are in separate pages (see below), but as soon as I combine the code into one page it stops working.
Code #1 - http://libtest.gatech.edu/gilquicksearch.html
Code #2 - http://libtest.gatech.edu/header.html
In code #1 the javascript takes whatever text you type into the search box and wraps it with quotes if you choose "search for a pharse" from the dropdown menu, or it inserts a plus sign between each word you typed in the search box if you choose "find all words" from the dropdown menu.
When the code #1 and code #2 are combined into one page the search box (code #1) no longer functions properly, but the header created by code #2 works fine. Two things are happening, First, the dropdown menu does not even appear on the page. Secondly, the plus signs or quotes are no longer added to the text that's typed into the search box.
Combined Code - http://libtest.gatech.edu/tempcode.htm
Here is the error message I receive -
Error: submit_form is not defined Line: 173
PLEASE HELP! Thanks.
I have two pieces of code that work fine with they are in separate pages (see below), but as soon as I combine the code into one page it stops working.
Code #1 - http://libtest.gatech.edu/gilquicksearch.html
Code #2 - http://libtest.gatech.edu/header.html
In code #1 the javascript takes whatever text you type into the search box and wraps it with quotes if you choose "search for a pharse" from the dropdown menu, or it inserts a plus sign between each word you typed in the search box if you choose "find all words" from the dropdown menu.
When the code #1 and code #2 are combined into one page the search box (code #1) no longer functions properly, but the header created by code #2 works fine. Two things are happening, First, the dropdown menu does not even appear on the page. Secondly, the plus signs or quotes are no longer added to the text that's typed into the search box.
Combined Code - http://libtest.gatech.edu/tempcode.htm
Here is the error message I receive -
Error: submit_form is not defined Line: 173
PLEASE HELP! Thanks.