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.
当我单击一个按钮时,事件触发window.print();,我需要知道用户是否取消了打印。那可能吗?
window.print();
Javascript 无法检查外部事件!