I need to know, how can I perform keydown on specified element or document. Now I need to perform 'click on right arrow'. I tried this: $('#page').trigger({type: 'keydown', name: 'right'});
But this doesn't work. Is here any solution, how can I perform action like this?