Welcome To My Homepage

With the ui-btn-active class, notice that the Home button stays highlighted (selected).

Click on the Page Two button to see what happens.

My Footer

Welcome To My Homepage

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!

My Footer