jQuery inline-edit on double-click?
-
29-04-2021 - |
سؤال
I'm using a jquery plugin for inline editing. But i would like to activate edition on double-click and not on single click.
Here is a created jsFiddle : http://jsfiddle.net/N5cvv/2/
Could you please tell me how to solve my problem?
المحلول
Check this edition in your code
.live( ['dblclick', 'mouseenter','mouseleave'].join(namespace+' '), function( event ) {
//in every click make as dblclick
لا تنتمي إلى StackOverflow