摘要:        
打开新窗口测试HTML代码<b>哈哈</b>代码如下: function runCode(code) { var win = window.open('','_blank',''); win.document.open('text/html', 'replace'); win.opener = null; win.document.write(code); win.document.close(); }动态执行JS代码alert('动态执行JS');代码如下: functio    阅读全文
posted @ 2011-02-24 13:37 PHP-张工 阅读(3422) 评论(3) 推荐(2)
 
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号