How can I attach custom behaviour to a double click in jsTree?
问题 I'm using the jsTree jQuery plugin and want to execute code when the user double clicks a node. I can't seem to get it to work. I found some documentation on a ondblclk event but it doesn't fire. browser.jstree( { plugins: ["themes", "json_data", "ui", "cookies"], callback: { ondblclk: function (node, tree) { if (!thisReportBrowserthis._isFoldersOnly) { var f = node; } } } } ); How can I handle double click events with jstree ? 回答1: It turns out I can do this: jstree.bind("dblclick.jstree",