title: How to identify double click in SELECT element with multiple
body: <p>I have a SELECT element with the MULTIPLE attribute.  When double-clicking on an option in the list, I want to <strong>take an action based on the option being clicked</strong>.</p>
  <p>I understand that the OPTION element doesn't handle the <code>ondblclick</code> event.  If I handle the <code>dblclick</code> event of the SELECT element, is there some way I can identify which option was double-clicked?</p>
  <pre><code>&lt;select size=&quot;4&quot; name=&quot;MySelect&quot; multiple=&quot;multiple&quot; ondblclick=&quot;myFunction();&quot;&gt;
      &lt;option ... /&gt;
      ...
  &lt;/select&gt;
  </code></pre>
  <p>Preferably cross-browser, but IE only would do.</p>
  <p><strong>EDIT</strong></p>
  <p>I obviously wasn't clear enough.  What I need to do is identify <strong>which option was double-clicked</strong> from within the event handler (or that the double-click was in an area of the SELECT element without an option).  Looking for <code>selectedIndex</code> won't do as the SELECT element has the MULTIPLE attribute: if the user holds <kbd>CTRL</kbd> or <kbd>SHIFT</kbd> when double-clicking, more than one item will be selected: I only want the option that was actually double-clicked.</p>