Change button text jquery mobile

后端 未结 10 921
傲寒
傲寒 2020-11-29 04:32

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

10条回答
  •  鱼传尺愫
    2020-11-29 05:02

    For markup like

    
    
    $("#consumed").html("Mark New");
    $("span > span", $("#consumed").parent()).html("Mark New");
    

提交回复
热议问题