Button reminds as clicked (i.e. in blue)
Hi Forum;
I am using JQM 1.3.1. In my form I have the next button:
<input type="button" id="but" value="Today">
When clicking this button, I need it to return to its default color, insted of blue, as it is down. I see this question in lots of places and the suggestion is always to do removeClass('ui-btn-active'), but in my case I tried it in lots of ways and never works. For example I did:
$('#but').on('click', function(e) {
setToday();
$('#but').removeClass('ui-btn-active');
});
I also did it the removeClass in a delayed even using setTimeout, but it also does not work. Any other idea will be appreciated, thank you!!!.
Adriano.