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

how to trigger two key event at the same time

$
0
0

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; $('item').trigger(e);
});

is that possible to make that, thanks a lot.


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>