js 打印网页部分内容
摘要:
function print_table() { var stxt = document.all.testPrint.innerHTML; //testPrint 页面上的容器,如表格,div //stxt = '<link href= "css.css" rel= "stylesheet " type= "text/css "> ' + stxt; var pwin = window.open("", "print"); pwin.document.write(st 阅读全文
posted @ 2012-05-29 09:50 陈思涵 阅读(257) 评论(0) 推荐(0) 编辑