JavaScript 鼠标事件在 Chrome 和 firefox 有效,IE 下无效

shangchen · 2013年06月12日 · 最后由 shangchen 回复于 2013年06月12日 · 2808 次阅读

read me 麻烦帮我看看,在 label 加了 js,在 chrome 和 firefox 有效,但是在 ie 下无效,请问该怎么解决呢

“ read me” 刚才代码没发成功

《lable id="read_me_flag" onmouseover="hidden_text.style.display='block';" o nmouseout="hidden_text.style.display='none';">read me</lable”

把 onmouseover="hidden_text.style.display='block';"改成 onmouseover="hidden_text.style.display=''"试试?

是我范了低级错误,label 写成 lable 了,但是为啥另外两个浏览器可以,很疑惑

需要 登录 后方可回复, 如果你还没有账号请 注册新账号