为了账号安全,请及时绑定邮箱和手机立即绑定

用for循环给几个元素绑定mouseove和mouseout事件,报错

用for循环给几个元素绑定mouseove和mouseout事件,报错

达令说 2018-08-05 12:12:21
chrome浏览器报这样的错误:“Uncaught TypeError: Cannot read property 'style' of undefined”如果在for循环外绑定就不会出错。js代码:html:
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 446 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信