I tried the following:
$.load(\"Views/chatBox.html\").appendTo(\'body\')
Console Output:
TypeError: $.load is not a functio
An alternative solution:
jQuery('#AppendToMe').append( jQuery('').load(...) ); This will append whatever you load into the #AppendToMe element. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
This will append whatever you load into the #AppendToMe element.