Automatically print specific content

xiaoxiao2021-03-06  112

Var gautoprint = true; // flag for WHETHER or NOT to Automatically Call The print function function printspecial () {i (document.getlementByid! = null) {var html = ' / n / n'; if (document.getElementsByTagName = null!) {var headTags = document.getElementsByTagName ( "head"); if (headTags.length> 0) html = headTags [0] .innerHTML;} if (gAutoPrint) {if (navigator.appName == "Microsoft Internet Explorer") {HTML = '/ n / n <' html = 'body online = "PrintCommandObject.execwb (6, -1);"> / n';} else { HTML = '/ n / n / n';}} else {html = '/ n / n / n';}

转载请注明原文地址:https://www.9cbs.com/read-102642.html

New Post(0)