<div class="htmlarea"> <textarea id="runcode561"> <script language="javascript"> function printsetup(){ // 打印页面设置 wb.execwb(8,1); } function printpreview(){ // 打印页面预览 wb.execwb(7,1); } function printit() { if (confirm('确定打印吗?')){ wb.execwb(6,6) } } </script> <object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="wb" name="wb" width="3"></object> <input class="ipt" type="button" name="button" _print value="打印" onclick=" javascript :printit();"> <input class="ipt" type="button" name="button" _setup value="打印页面设置" onclick=" javascript : printsetup();"> <input class="ipt" type="button" name="button_show" value="打印预览" onclick="javascript:printpreview();"> <input class="ipt" type="button" name="button" _fh value="关闭" onclick=" javascript:window.close();"> </textarea><br><input onclick="runEx('runcode561')" type="button" value="运行代码"> <input onclick="doCopy('runcode561')" type="button" value="复制代码"> <input onclick="doSave(runcode561)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>