日期:2014-05-16 浏览次数:20378 次
<body> <input type="button" value="隐藏滚动条" onclick="aa()" /> <script language="javascript" type="text/javascript"> function aa(){ document.getElementsByTagName('body')[0].style.overflow='hidden'; document.getElementsByTagName('body')[0].scroll="no"; } </script> </body>