jkr137 jkr137 - 1 year ago 89
Javascript Question

Auto arrow (right) key press event?

Is it possible to create an auto key press event? I want to flip a book once automatically after refreshing the site?

Thanks in advance!

Answer Source

This will do it:

$(document).ready(function() {
    var e = $.Event('keydown', { keyCode: 39 });// right arrow key


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download