JQM - Navbar Link Remains Active.
Hi, I am using JQM 1.4.5 & jQuery 1.11 and have the following code;
- <li><a href="#" id="btnReset" class="ui-disabled" data-icon="custom">Reset</a></li>
This calls a function;
- $('#btnReset').bind('click', function(){
- $('#btnReset').addClass('ui-disabled');
- }
That works fine but the button remains in an active state (i.e. black but disabled). How can I alter this to return it to normal state?
Thanks.