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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force dropdown select to open or stay open

Status
Not open for further replies.

Trusts

Programmer
Feb 23, 2005
268
US
Hi,

I have a client with a crazy request.

Is there a way to force open a dropdown? This would/should occur from an event, most suitability the onclick event of the dropdown itself.

For example, a select has three items. A person clicks on the first. This onclick event spawns some process, I assume some server interaction (I don't have all the facts), but then the dropdown should stay open so another item can be clicked.

I don't recall that there is any method or property to have a dropdown open up without a human clicking on it.

In the intermin the items in the list might changed based on what occurs on the server.

Well, I wish I had all the details but I think I have enough to consider the issue
 
Try this
Code:
<select [b]style="height: 150px"[/b]>
  <option>option 1</option>
  <option>option 2</option>
</select>
[code]



--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top