option/select dblclick works in chrome/IE but not safari/firefox
Updated post:
I've simplified the problem area:
$('.statusselect').dblclick(function() {
alert("double-clicked");
});
So anyway chrome/IE can detect the double-click within the sub-element (the option/select), safari can sort of detect it (but you need to click 5 times instead of 2) and firefox doesn't detect it at all...
(original post)
============================================
In this example, if no choice has been made yet, you can double-click on the cell (td) or control and it selects "OK".
Well actually only chrome and IE can detect a double-click on the option/select control.
In safari on Windows it detects a double-click if you click the control exactly 5 times fairly fast.
For firefox, no amount of clicking on the control will fire the double-click event....
$(document).ready(function(){
$('.statusselect').dblclick(function() {
if ($(this).find(':selected').val() == 0) {
Note that the statusselect class is on a "td".