How can I activate a "left" or "right" keyboard arrow push on click of a div.
So for example
$('.item').click(function(){
keyCode(37);
});
(I know that 37
is left)
How can I activate a "left" or "right" keyboard arrow push on click of a div. So for example
(I know that |
|||
|
You would go like
You can of course replace Reference: |
|||
|
From Definitive way to trigger keypress events with jQuery:
|
||||
|
not sure, but can you try this.
|
|||
|