window.print打印指定div实例代码_javascript技巧
function printdiv(printpage)
{
var headstr = "";
var footstr = "";
var newstr = document.all.item(printpage).innerHTML;
var oldstr = document.body.innerHTML;
document.body.innerHTML = headstr+ne
转载
2017-03-26 23:49:20 ·
1457 阅读 ·
0 评论