// Use a black icon for secondary (grey gradient) backgrounds.
if ($(this).hasClass('secondary') || $(this).css('color') === 'rgb(0, 0, 0)') {
filename = 'newwin-black-white-15-14.png';
}
上面
我試圖打開一個new窗口和print的內容。 var parentHeader= $("head").html();
var parentDivContent = $("#printer_data_1").html();
var newW= window.open("", "", "scrollbars=1,width=200,height=200");
newW.document.