Change a select list display value upon selecting description

Posted by eli on Stack Overflow See other posts from Stack Overflow or by eli
Published on 2010-05-07T21:18:20Z Indexed on 2010/05/08 1:58 UTC
Read the original article Hit count: 262

Filed under:
|
|
|

Hello,

I would like a select list that does the following:

  1. When the select list is open, display the list of descriptions.
  2. When the user selects an item, the select list will close an only the value will be displayed.

The reason for this is to conserve space as the values will be much shorter. I'm hoping that there's an answer in jQuery.

Thanks.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html