javascript - How to use jquery to obtain and operate dom in js template
typecho2017-06-12 09:30:32
0
3
883
As shown in the picture, this is HTML wrapped in script. I wrote jquery and could not get the dom. It is said on the Internet that the script is parsed as an ordinary string. So how should I use jquery?
Put jquery after </body> (at the bottom of the code).
It’s not like you can’t get it~~. You just generated it using a template, look at the location of Jq
Render out the tag and get the dom