[removed] AppendChild

后端 未结 6 990
花落未央
花落未央 2020-12-10 07:10

I was learning about appendChild and have so far come up with this code:

6条回答
  •  萌比男神i
    2020-12-10 07:14

    The script is being run before the page completes loading. Which is why document.getElementById("theBlah") returns null.

    Either use something like jQuery or simply something like

    
    

提交回复
热议问题