Capture a Shift and Click event with jQuery

javascript, jquery

Solution

Yes:

$(document).click(function(e) {
    if (e.shiftKey) {
        alert("shift+click")
    } 
});

Problem

I don't seem to be able to capture two events at the same time. I am trying to capture the Shift and Click (mouse click) event. I have no problem capturing each action separately but not the two together. Has anybody done some research on that particular problem?

Original source