Home >Backend Development >PHP Tutorial >jquery problem_PHP tutorial
Problem with jquery..
hehe, not familiar with it, please help
D8888D reply content------------------------------------------------- ----------
The core of Ajax is only javascript, XMLHTTPRequest and DOM. There is no text() method in javascript. Personal opinion
D8888D reply content------------------------------------------------- ----------
This is jquery. . There is a text method, and the essence of the text method is also innerhtml. But I just tried it and I still can’t figure out why it’s not worth it. Looking forward to the correct answer.
D8888D reply content------------------------------------------------- ----------
Try s[0].html()
D8888D reply content------------------------------------------------- ----------
Understand innerHTML and outerHTML