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

求救,怎么回事?

window.onload = function () {

  //获取鼠标滑过或点击的标签和要切换内容的元素

  var titles = $('notice-tit').getElementsByTagName('li');

  var divs = $('notice-con').querySelectorAll('div');

  alert(titles.length)

}

bug这是啥意思?

script.js:9 Uncaught TypeError: Cannot read property 'querySelectorAll' of null

    at window.onload (script.js:9)


正在回答

举报

0/150
提交
取消

求救,怎么回事?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信