On 4 Feb, 14:38, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > The subject says it all... > > How I can detect a crtl+click on an element?
try this, supposing #target is yout target
var clickFn = function(){
alert("ctrl + click");
$(this).unbind('click', clickFn);
}
$(document)
.keydown(function(event){
if (event.keyCode == 17){
$("#target").click(clickFn);
}
})
.keyup(function(event){
if (event.keyCode == 17){
$("#target").unbind('click', clickFn);
}
});

