It’s possible to go to the previous screen simply by using the code below. This takes the user to the previously visited screen.


As a further example, to run this when a button (with a class of “back-button”) is clicked, we can use the code in the following way:

$('.back-button').on('click', function () {

You can find more information on the navigation API options available here.

Was this article helpful?