代码
$(document).ready(function($){
$('input[name=sumb_but]').bind('click', function(){
var print_text = "Test page";
var newWin = window.open('','printWindow','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0');
newWin.document.write(print_text);
return false;
});
})
问题
IE在行中 所需对象 错误消息
newWin.document.write(print_text);