2
我在客户站点上使用ThickBox来显示模态窗体。它运作良好,除非我无法完成。我发送modal = true,所以标题不显示,但我使用div作为按钮来保存信息或关闭框。从我看到的例子中,我应该能够调用tb_remove()并且应该照顾它,但它根本不起作用。关闭ThickBox模态窗口
<div style="clear: both;">
<div class="buttons" onclick="javascript:tb_remove()">
<h2>Cancel</h2>
</div>
<div class="buttons">
<h2>Save</h2>
</div>
</div>
我没有得到任何JavaScript错误。我将格式更改为您在示例中的格式,但仍然没有运气。 – unclesol 2012-02-06 19:16:09
从我所能找到的,它实际上是调用JavaScript中的tb_remove()函数,它只是不关闭窗口。 – unclesol 2012-02-06 20:19:16