Just curious, by why would you even want to put click/dblclick event
handlers on each option element?

-Dan

>-----Original Message-----
>From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of [rob desbois]
>Sent: Monday, April 02, 2007 11:59 AM
>To: jQuery (English)
>Subject: [jQuery] working around IE's lack of <option> click/dblclick
>events
>
>
>Hi all,
>
>I've just discovered something I didn't know: IE (6) does not generate
>click / dblclick events for <option> elements.
>
>I'm creating some code to work around this issue (which will be made
>available when complete), but have a further problem in that when IE
>calls the <select>'s click handler, it does this *before* updating
>the .selectedIndex property, hence you cannot tell which item has been
>double-clicked on.
>
>I could use a timer to get around this problem but it's a bit of a
>hack; does anybody have a better idea otherwise?
>
>rob
>


Reply via email to