开发者

IE8 error res://ieframe.dll/preview.js while printing

开发者 https://www.devze.com 2023-02-18 11:39 出处:网络
here is my code and while i am executing it i am getting this error res://ieframe.dll/preview.js at line:14

here is my code and while i am executing it i am getting this error

res://ieframe.dll/preview.js
at line:14

Code:

var divToPrint1 = $('#PrintDoc').html();
var newWin = window.open('Share Certificate #001', 'Print-Window', 'width=10px,height=10px');
newWin.document.open();
newWin.document.write('<html><body onload="window.print();">' + divToPrint1 + '</body></html>');
newWin.document.close();

Can any one help me in this? Please don't开发者_开发百科 give solution for reseting IE setting through internet option. It's not working.

Thanks in advance.


try this: http://iefaq.info/index.php?action=artikel&cat=48&id=133&artlang=en

greetings, s3lbstlaut

0

精彩评论

暂无评论...
验证码 换一张
取 消