If you have a Google account, you can save this code to your Google Drive.
Google will ask you to confirm Google Drive access.
Save file as:
If you have saved a file to Google Drive, you can open it here:
With the ui-btn-active class, notice that the Home button stays highlighted (selected).
Click on the Page Two button to see what happens.
This page will also have its button highlighted, because of the ui-btn-active class.
And if you go back to the "Home" page, you will notice that the state of that page will continue to exist, and vice versa DUE TO THE CLASS UI-STATE-PERSIST!