//preview img : filereader方式 document.getElementById('imgFile').onchange = var ele = document.getElementById('imgFile').files[0]; var fr = new FileReader(); fr.onload = function(ele){ var pvImg = new Image(); pvImg.src = ele.target.result; pvImg.setA
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 function doPrint() { var article; var css; var strAdBegin=""; var strAdEnd=""; var strTmp; var str="<html>\n<meta htt
html <div id="subOutputRank-print"> <h1></h1> </div> js doPrint(e){ let subOutputRankPrint = document.getElementById('subOutputRank-print'); console.log(subOutputRankPrint.innerHTML); let newContent =subOutputRankPrint.in