jQuery.print.js 不打印用户对 select/option 下拉菜单的选择

jQuery.print.js not printing the users choice of select/option dropdown menu

我正在使用 jQuery.print.js。一般打印效果很好。我无法在 select/option 下拉菜单字段中打印用户选择。有谁知道如何让选定的值显示在打印件中?我将不胜感激任何帮助。我是 jQuery 和 javascript 的新手。提前致谢。

你能得到选择的值吗?

https://learn.jquery.com/using-jquery-core/faq/how-do-i-get-the-text-value-of-a-selected-option/

或许你可以参考上面的link先获取选中的值

我找到了答案。在用户按下打印按钮之前需要克隆这些元素。 Window.print 目前还没有打印选定的选项