jQuery .on not working with dynamic DOM/HTML

前端 未结 2 918
臣服心动
臣服心动 2020-12-09 03:11

I\'m not exactly sure if this is due to my manifest setup, or if there\'s something going on with the .on event and pages that generate content/modify content on th

2条回答
  •  情话喂你
    2020-12-09 03:41

    I am not sure of the exact context here-- it sounds like an inability to jump IFRAME boundaries due to alien domain security.

    I would try a timer that tries to gather anything within your target (the gmail doc part of the DOM), if you can do that, you can workaround the inability of jQ live by rolling your own monitor (store the bound links in an array).

提交回复
热议问题