qq_23862099
qq_23862099
2017-09-06 03:53

动态加载Select标签 报错:IndexSizeError

  • select
  • html5
  • 标签
  • jquery

Error in event handler for (unknown): IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at showPopup (chrome-extension://lnkjinnkdeildlgncgmjcmfdjcllmlcp/js/content.js:241:39)
at chrome-extension://lnkjinnkdeildlgncgmjcmfdjcllmlcp/js/content.js:212:21

    是for循环动态加载出来后,选择某一项都会报这错误 ![图片说明](https://img-ask.csdn.net/upload/201709/06/1504669933_27972.png)
    跪求大神解决,第一次看到这错误。
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答