js ie 瀏覽器的 document.execCommand("Saveas",true,"33.png") ;沒變還是原來文件名然后 把 文件名賦值后就沒反映了IframeReportImg為iframevar mycardnumner //身份idvar imagetype //圖片后綴var imageindex //圖片索引document.getElementById('IframeReportImg').contentWindow.document.execCommand("Saveas",true, mycardnumner+"_"+alts+"_"+imageindex+"_"+imagetype);
js ie 瀏覽器的 document.execCommand("Saveas") 問題
LEATH
2018-07-17 14:18:03