I have a problem regarding displaying the next page on a Website. I use jQuery and want to Display the next Page if the Enter key is pressed? How can I accomplish that. The code below shows already what I have written. Is there any method that will do fine?
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script>
$(document).on("keypress", "input", function(e){
if(e.which == 13){
}
});
</script>