onDblClick in <option>

Discussion in 'HTML' started by Jason Davis, Jun 30, 2003.

  1. Jason Davis

    Jason Davis Guest

    Hi all,

    Is it possible to use the onDblClick event when clicking on a specific
    option in a multiselect enabled select box?

    I have a list that looks like this:

    <select name="mylist" multiple>
    <option value="Key1">First</option>
    <option value="Key2">Second</option>
    <option value="Key3">Third</option>
    </select>

    I want that when the user DblClick Key1 a function call would be
    perfom - OptionInfo(OptionValue) - OptionValue is the VALUE of the
    clicked option.

    Possible?

    Thanks!
     
    Jason Davis, Jun 30, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Julien ROUZIERES

    g++ -pg option and -shared option

    Julien ROUZIERES, Dec 21, 2004, in forum: C++
    Replies:
    1
    Views:
    736
    GianGuz
    Dec 21, 2004
  2. Cas
    Replies:
    5
    Views:
    807
    Kevin Jones
    Aug 28, 2006
  3. Kevin Blount

    page.aspx?option - how to detect "option"

    Kevin Blount, Nov 28, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    615
    =?Utf-8?B?RWVyYWo=?=
    Nov 28, 2006
  4. Dan

    ondblclick and onclick together

    Dan, Nov 4, 2004, in forum: Javascript
    Replies:
    2
    Views:
    107
    Daniel Kirsch
    Nov 5, 2004
  5. Simon Wigzell

    ondblclick on a mac

    Simon Wigzell, Feb 16, 2006, in forum: Javascript
    Replies:
    1
    Views:
    103
Loading...

Share This Page