.ui-btn-active{} removed on navbar alpha 4
In the docs -
http://jquerymobile.com/demos/1.0a4.1/#docs/toolbars/docs-navbar.html
the navbar holds the active state of a button when pressed. All the links on the docs page have href="#"
When i try to do the same thing but put href="Javascript:myFunction():" then even if myFunction() does nothing, the active state is removed from the clicked button.
I saw there was an issue with alpha 3 where the selected state was not being maintained but this seems to be happening with alpha 4.1
Has anyone used the navbar without this problem?