如何隐藏或永久删除流星账户工具中的“创建账户”链接?隐藏/删除流星注册工具中的“创建账户”链接
它的HTML代码如下;
<div class="dropdown-menu">
<input id="login-username" type="text" placeholder="Username" class="form-control">
<input id="login-password" type="password" placeholder="Password" class="form-control">
<button class="btn btn-primary col-xs-12 col-sm-12" id="login-buttons-password" type="button">
Sign in
</button>
<div id="login-other-options">
<a id="signup-link" class="pull-right">Create account</a>
</div>
</div>
我使用的代码$("#login-other-options").remove();
它适用于Chrome,但不适用于Firefox。那么任何通用技术?
我安装了下面的软件包。
ian:accounts-ui-bootstrap-3
[email protected]
下面是图像。
是否'$( “#注册链接”),删除();'的工作? – charlesreid1
@ charlesreid1:不适用于Firefox。 –