I have a navigation bar and I've been able to fix its behaviour as I like with this jQuery code:
$(document).bind('mobileinit', function () {
$.mobile.activeBtnClass = 'unused';
});
But this way I disable ALL the buttons in my webapp...
I'd like to aim it to a specific set of buttons.
How can I achieve that?
I'd do:
$(document).bind('mobileinit', function () {
$(".myclass").activeBtnClass = 'unused';
});
or
$(document).bind('mobileinit', function () {
$(".myclass").mobile.activeBtnClass = 'unused';
});
But this won't work...
What is wrong?