I am using the jquery-ui-dialog
plugin
(我正在使用jquery-ui-dialog
插件)
I am looking for way to refresh the page when in some circumstances when the dialog is closed.
(我正在寻找在某些情况下关闭对话框时刷新页面的方法。)
Is there a way to capture a close event from the dialog?
(有没有办法从对话中捕获一个关闭事件?)
I know I can run code when the close button is clicked but that doesn't cover the user closing with escape or the x in the top right corner.
(我知道我可以在单击关闭按钮时运行代码但不包括用户使用escape或右上角的x关闭。)
ask by Brownie translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…