I am using two
<li><a href="#" type="button" > text</a></li>
type buttons in the footer navbar of my application, to trigger functions in my application (not for navigation.). After each press the button stays pressed, until another button in the navbar is pressed. How can I avoid this behavior?
Remove manually class
ui-btn-activefrom the last pressed button.EDITED
The best way is to redefine styles for class
ui-btn-active, the same as for the ‘unclicked’ button. For example:Example here.