var loc=window.location.href,width="500px",height="450px";
var a=document.createElement("div");
a.id="xyz";
a.style.position="fixed";
a.style.width="500px";
a.style.height="450px";
a.style.top="0px";
a.style.right="0px";
$('body').appendChild(a);
a.innerHTML='<iframe id="submit" width="500px" height="450px" src="http://abc.html"><iframe>';
此代码给出了表达式'$('body').appendChild' [undefined] 的错误结果不是函数。
请帮助我,因为我无法弄清楚为什么这个错误正在蔓延