Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 rel="facebox" 的链接。当它被点击时,它会从一个单独的文件中运行一个 php 脚本。我想在 facebox 消失时自动刷新页面。我该怎么做?我已经尝试了标题和元数据,但它不起作用。
你可以在Close.facebox之后绑定事件:
$(document).bind('afterClose.facebox', function() { location.reload(); });