这是我使用GwtQuery隐藏给定DIV的代码:
$("#historySection").hide();然而,它一点也不隐藏。
这是实际的HTML div:
<div id="historySection" class="ui-tabs-panel ui-widget-content ui-corner-bottom pad10">
<div data-field="history">
</div>
</div>我的密码怎么了?
发布于 2013-11-09 20:10:15
您确定您的div在运行GQuery代码时存在于DOM中吗?
发布于 2013-11-09 21:09:14
我觉得挺好的。在调用hide()方法之后,您能在代码中放置一个断点吗?此时,检查DOM中historySection div的状态。
https://stackoverflow.com/questions/19879930
复制相似问题