<style> body{ background-color:#B0B0B0 } .header{ background-color:#000000; width:100%; height:100px; } #left{ background-color:#FF0000; width:15%; height:700px; } </style> </head> <body > <div class="header"></div> <div id="left" onmouseover="hidden()"></div> <script> function hidden(){ document.getElementById("left").style.backgroundColor="#FFFFFF"; } </script> </body> ```Uncaught TypeError: hidden is not a function onmouseover @ index.html:26
跃然一笑
相关分类