以下是我的应用程序代码:
<li class="ui-block-e">
<a href="#login" data-transition="slide" data-role="button" data-theme="b" data-mini="true" id="UserLoginButtonP5" data-corners="false" data-shadow="false" data-iconshadow="true" data-wrapperels="span" class="ui-btn ui-btn-inline ui-mini ui-btn-up-b" data-inline="true">
<span class="ui-btn-inner">
<span class="ui-btn-text">Login</span>
</span>
</a>
</li>
jQuery替换代码:
$("#UserLoginButtonP1").html("<span class='ui-btn-inner'><span class='ui-btn-text'>Logout</span></span>");
如何将登录替换为注销文本?