Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Automatically Expand a DropDown


Message #1 by "Ray Murphy" <raymurphy@g...> on Thu, 27 Jun 2002 12:04:52
Check www.irt.org
The javascript FAQ section has a bunch of stuff about events.  I think
you can "fake" an event on an element, to mimic a mouse click for the
drop down.

-----Original Message-----
From: Ray Murphy [mailto:raymurphy@g...] 
Sent: Thursday, June 27, 2002 12:05 PM
To: javascript
Subject: [javascript] Automatically Expand a DropDown

Hi,

I've got the standard sort of thing where a dropdown listbox gets 
populated by a list of values. But the effect I'm after this time is for
the dropdown listbox to AUTOMATICALLY be expanded to reveal this set of 
values as soon as the listbox control receives focus .... Any ideas on
how to achieve this, please ?

Thanks.

Ray

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index