getElementsByClassName returns [] instead of asynchronous appended node

后端 未结 6 1888
野性不改
野性不改 2020-12-17 05:40

(I ask my question again after the first one was terribly formulated)

I face the following problem:

6条回答
  •  萌比男神i
    2020-12-17 06:11

    colorSelector is commented out. JavaScript only works within the DOM, and commented out portions aren't in the DOM.

提交回复
热议问题