javascript - How to detect Ctrl + Mouse dblckick using jquery -


i want detect event ctrl + dblclick using jquery. dblclick have dblclick event. possible recognize event without setting flag on keypress event?

look @ passed jquery event object. there boolean property called ctrlkey.

$(window).on("dblclick", function(e) {    console.log(e.ctrlkey);  }); 

here's simple example: http://jsbin.com/ugocaf/2/edit


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -