jQuery inline-edit on double-click?

折月煮酒 提交于 2019-12-11 02:18:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!