JS打印代码 function printdiv() { var headstr = ""; var footstr = ""; var newstr = document.getElementById("pDiv").innerHTML; var ol