0
How can I execute page change event using javascript so that when clicking on the arrow keys (< or >), run href of the links with ids Prox-pg and ant-pg, shown below.
<a href="url da pagina anterior" id="ant-pg"> << </a>
<a href="url da proxima pagina" id="prox-pg"> >> </a>
I ran this example that you passed, more when using the keyboard keys < or > this not worked.
– Striffer
Here worked, see . You pressed the shift?
– Augusto Vasques
@Striffer which your browser? can be something like this, see what I used
javascript
pure, theevent.key
may be different– Ricardo Pontual