Articles in this section
Category / Section

Why are window.onload and $(document).ready not raised when back button is pressed?

1 min read

When navigating from the back button, window.onLoad and $(document).ready are not triggered since the page is loaded via Ajax. If you want to handle actions while clicking the back button, then you can use the touchend event property of the button. But, when you handle the click event, then you have to call either window.history.back() or App.transferPage method to navigate to the desired page.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied