document.writeln隐藏层怎么不隐藏了,用HTML直接用就隐藏?
document.writeln( " <div style=\ "display:none\ "> ");
document.writeln( " <script type=\ "text/javascript\ " src=\ "http://s103.cnzz.com/stat.php?id=394105&web_id=394105\ " language=\ "JavaScript\ " charset=\ "gb2312\ "> </script> ");
document.writeln( " </div> ");
------解决方案--------------------document.writeln( " <div style=\ "display:none\ "> ");
document.writeln( " <script type=\ "text/javascript\ " src=\ "http://s103.cnzz.com/stat.php?id=394105&web_id=394105\ " language=\ "JavaScript\ " charset=\ "gb2312\ "> <\/script> ");
document.writeln( " </div> ");
------解决方案--------------------为什么不用 document.getElementById( 'divid ').style.display = 'none ';