I disable the button like this on my jQuery Mobile webpage:
$(document).ready(function() {
$("#deliveryNext").button();
$("#deliveryNext").button('disable');
});
and i can enable it with
$("#deliveryNext").button('enable');
But how do i check if the button is disabled or enabled?
This command gives "undefined":
$("#deliveryNext").attr('disabled')
Any help?