Guys is it possible to create double click event for the a href using jquery
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
The problem with performing an action on double click of an anchor is that the page will redirect on the first click, preventing the double click from responding in time.
If you want to "intercept" the click event so that the double click event has a chance to fire before the page redirects, then you may have to set a timeout on the click like this:
Demo: http://jsfiddle.net/4788T/1/
if you
a
link has id of "id", then: