CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Select Value in Listbox Search

Print topic Send  topic

Author Message
Edd
Posted: 08/01/2002, 6:51 AM

I have created a Listbox in a search table and it automatically defaults to giving me a "Select Value" item. When I leave it blank (where I want ALL the values) and press search I am expecting a blank character to be sent across as a parameter, instead I get ?Search+Value being sent. In the generated HTML I get "<select class="blahblah" name="xx"><option selected>Select Value</option> <option ...". I was expecting a VALUE of "" in the 1st option.

Question 1. - How do I fix this.
Question 2. - How do I get rid of the Select Value item?

TIA
Edd
Alex Alexapolsky
Posted: 08/02/2002, 5:14 AM

You can locate 1st option of listbox via javascript and assign it empty value

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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