Archive for May, 2009

5/4: jQuery Click/Double Click

jQueryShawn4 Comments

The battle of the standards is constantly a struggle. I found myself needing a solution to the jQuery Click/Double Click problem. This example will send one click or double click to the helper functions. Compatible with Firefox 2+, Chrome 4+, and IE > 6+. Thanks Allan G for your update. Using $.live binds directly to the click handler allowing for new element checking. Use $.bind if you don’t have dynamic content or $.bind inside of $.ready.

Read the rest of this entry »