I\'m using the new jquery mobile 1.0 alpha 1 release to build a mobile app and I need to be able to toggle the text of a button. Toggling the text works fine, but as soon a
Mark Old
You want to:
$('#consumed').text('Mark New'); $('#consumed').button('refresh');
The reason is to enable your changes to be backwards-compatible with future versions of jQuery mobile.