How can jQuery load some html and append it to the <body> element?

后端 未结 5 499
小蘑菇
小蘑菇 2020-12-10 10:37

I tried the following:

$.load(\"Views/chatBox.html\").appendTo(\'body\')

Console Output:

TypeError: $.load is not a functio         


        
5条回答
提交回复
热议问题