My jQuery mobile applications consists of multiple pages.
Whenever I reload a page, no matter which page in the application, $(document).ready() function is executed. I expect it only to execute for the main page of the application.
What is going on? I would like it only to run on the main page only.