简体   繁体   English

查找在打印对话框上是否单击了保存或取消按钮

[英]Find whether Save or cancel button is clicked on print dialog box

Hai Guys,如何查找用户在打印对话框上单击了哪个按钮。

Internet Explorer具有onbeforeprint和onafterprint,但这是特定于浏览器的。

As far as I know you don't have access to Application Dialog boxes such as the print dialog. 据我所知,您无权访问“应用程序对话框”,例如打印对话框。 even with events fired by IE. 即使发生由IE触发的事件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 InDesign:检查对话框中是否单击了取消按钮 - InDesign: Check if cancel button is clicked on a dialog Facebook 发送对话框识别是否点击了发送或取消 - Facebook Send Dialog identify whether send or cancel has been clicked 如何检测何时单击“保存文件”对话框上的“取消”? (JavaScript)的 - How to detect when cancel is clicked on save file dialog? (Javascript) 确定是否单击了 Google Chrome 打印预览中的打印/取消按钮 - Determine If Print/Cancel Button in Google Chrome's Print Preview is Clicked 在“确认”对话框中单击“取消”按钮时,如何打开其他页面? - how to open a different page when cancel button is clicked in the Confirm dialog? 如何识别打开保存取消对话框 - How to identify the open-save-cancel dialog box 取消或保存打印对话框后,当前窗口未关闭 - After cancel or save print dialog the current window was not close JQuery对话框:如何在按钮单击事件中找到单击按钮 - JQuery Dialog : How to find clicked button inside the button clicked event 在printpreview对话框中单击“取消并打印”按钮时需要关闭iframe - Need to close iframe on click of cancel and print button in printpreview dialog 如何保存用户是否单击按钮,如果是,则运行函数 - How to save whether a user clicked a button or not, and if so run a function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM