Code
$(document).ready(function($){
$('input[name=sumb_b开发者_JAVA技巧ut]').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;
});
})
Problem
IE shoots error message Object required in line
newWin.document.write(print_text);
精彩评论