问题
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?
回答1:
Check this edition in your code
.live( ['dblclick', 'mouseenter','mouseleave'].join(namespace+' '), function( event ) {
//in every click make as dblclick
来源:https://stackoverflow.com/questions/9282387/jquery-inline-edit-on-double-click