iframe跨域打印 [英] iframe cross domain print
本文介绍了iframe跨域打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在我的应用程序中打印另一个客户的应用程序页面的内容。我尝试使用iframe contentWindow并且我得到访问被拒绝错误。请让我知道我可以获取用于打印的html对象元素内容。如果可以使用iframe,请告诉我如何解决conentWindow访问命名错误。
提前致谢
Sangeetha
Hi ,
I need to print the content of another client's application page in my application. I tried using iframe contentWindow and I get access denied error.Kindly let me know I can get the html object element content for printing.If can use the iframe kindly suggest me how i can resolve conentWindow access denined error.
Thanks in advance
Sangeetha
推荐答案
您好,
出于安全考虑,大多数现代浏览器都赢了; t允许你这样做。 此处 [^ ]是一篇博客文章,讨论iframe打印,你可能会发现有趣的。
问候,
Hello,
For security reasons most modern browser won;t allow you do this. Here[^] is a blog article which talks about iframe printing, which you might find interesting.
Regards,
这篇关于iframe跨域打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文