我有一個像打開窗口通過window.open與window.print打印負荷
var windowObject = window.open('','windowObject','arguments...');
windowObject.document.write("<html><body onload="alert(1);window.print();alert(2);"><div>some html</div></body></html>");
問題的一些代碼是一切正常,除了window.print事件(即上,在Firefox,它的加工)。
是否有解決方法?
由於提前, 拉夫
奇怪。看起來沒問題....沒有錯誤? – 2010-09-17 15:11:08
語法高亮顯示修復錯誤。 – Hello71 2010-09-17 22:57:56