How to close a Modal Popup via Javascript code within the Chrome 'Developer' console window?
I'm unable to close the following modal popup listed below with the following code when entered within the chrome browser developer console textfield:
Attempted to close the modal popup with the following code:
$(".modal-dialog.close").close();
您可以尝试在关闭按钮上触发点击事件:
$(".close").trigger("click");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.