1、这是一个iframe 的
给你一个参考的:
ID="tryit" MARGINHEIGHT="1" MARGINWIDTH="1" width="100%" height="300" scrolling="auto">
tryit.document.designMode="On";
tryit.document.open();
tryit.document.innerHTML+=tryit.document.write("asdf");
tryit.document.close();
tryit.focus();
2、这个是textarea
click
3、
textarea本来就是用来放文本的,插入的东西当然会当做文本来看待.
不过你想在IE中用非标准的方法来做的话也是可以的:
1837




被折叠的 条评论
为什么被折叠?



