Adding new search functions

T

tyv

Hi,

I want to add a new search function (Drop Down Menu) to search the
database in my website. I managed to add the search filter and the
options, but I am unable to get it to actually work. Whenever I
select one of the options and click search, nothing happens. When I
click on the yellow icon at the bottom of IE (that yellow triangle
with an exclamation point) it says "object expected".

Anyone have any suggestions or sample scripts that would help fix
this? Thanks in advance for any advice.

TV
 
B

Bart Van der Donck

tyv said:
I want to add a new search function (Drop Down Menu) to search the
database in my website. I managed to add the search filter and the
options, but I am unable to get it to actually work. Whenever I
select one of the options and click search, nothing happens.

Possibly you will want to submit the form in order to query your
database at the server:

<form method="get" action="page.php">
<select size="1" name="s">...options...</select>
<input type="submit">
</form>

This is the most common option when your database is not fully present
 When I click on the yellow icon at the bottom of IE (that yellow
triangle with an exclamation point) it says "object expected".

You are looking at the error console of Microsoft Internet Explorer.
"Object expected" is usually a syntax error, because the code refers
in that case to a non-existing object.
Anyone have any suggestions or sample scripts that would help fix
this?  Thanks in advance for any advice.

Probably you need to dig a little deeper into the language first.

Hope this helps,
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top