1.写好了js在Firefox里面不运行,在IE浏览器里面运行正常: 自己检查后发现把 <script type="text/javascript"> </script> 写成了 <script type="text/jscript"> </script>