CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> Archive -> GotoCode Archive

 Delete the search button

Print topic Send  topic

Author Message
Posted: 11/06/2003, 5:04 PM

I have a search form with a listbox. Is it possible to delete the search button, and start the search automatically when a new value is selected in the listbox?

Posted: 11/06/2003, 7:23 PM

<SCRIPT LANGUAGE = "JavaScript">
function goPage(form)
selID = form.selID.value;
page = "default.asp?id=" + selID;

'Example: <select name="selID" onChange="goPage(this.form); return true">

On your input box, add onChange="goPage(this.form); return true"
Change the name of the name of the select box (form.selID.value) in the javascript to the name of your input box.

Hope this helps,



These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.