Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Listbox: How to chose default value? 1

Status
Not open for further replies.

mikiempire

Programmer
Jan 22, 2004
4
0
0
CA
I am pulling my hair out trying to figure out how to handle the situation when the user choses the first/default row of a Listbox; that is, there is no onchange() event has been fired. Becuase there is onely one event, onchanged(), with the Listbox object, how can I deal with this situation?

Many thanks!

Miki
 
You could use the onblur event which will run whenever the listbox loses focus. For additional information on this, you could look here:
-----------------------------------------------------------------------------------------------------
"If you can't explain something to a six-year-old, you really don't understand it yourself."
-- Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top