Quantcast
Channel: how to trigger two key event at the same time
Browsing all 8 articles
Browse latest View live

Re: how to trigger two key event at the same time

you should review the jquery code that is looking for the events. also keypress does not support ctrl/shift. normally the jquery code would be looking at keydown and keyup events, but a quick review...

View Article



Re: how to trigger two key event at the same time

Sorry, I think I didn't explain my question very well.The following is the code I make:$("#btn").click(function () { var e1 = $.Event('keypress'); var e2 = $.Event('keypress'); e1.which = 17; //ctrl...

View Article

Re: how to trigger two key event at the same time

abramhum.c.lHi:I hope to trigger the key event at the same time, such as Alt+Ctrl,  is this possible? What I know now is the following codes:$(function() { var e = $.Event('keypress'); e.which = 79;...

View Article

Re: how to trigger two key event at the same time

But I want to trigger "Alt+Ctrl" event. However, seems I can still get enough infos from that. Thanks. 

View Article

Re: how to trigger two key event at the same time

Hi abramhum.c.l,Please refer to the following links that explained how to disable key...

View Article


Re: how to trigger two key event at the same time

your code should work with a valid selector ("item" isn't). also this will only trigger a jQuery event, it will not be like the key was typed. so if "#item" was a textbox, the event will fire (if a...

View Article

how to trigger two key event at the same time

Hi:I hope to trigger the key event at the same time, such as Alt+Ctrl,  is this possible? What I know now is the following codes:$(function() { var e = $.Event('keypress'); e.which = 79;...

View Article

Re: how to trigger two key event at the same time

Thanks. I will try doing some jquery source code analyzing.

View Article

Browsing all 8 articles
Browse latest View live




Latest Images