日期:2014-05-18 浏览次数:20536 次
<textarea name="t" rows="20" cols="50"></textarea> <script language="JavaScript"> var oTable = document.createElement("TABLE"); var oTBody = document.createElement("TBODY"); var oTR = document.createElement("TR"); var oTD = document.createElement("TD"); oTD.innerText = '马老虎???'; oTR.appendChild(oTD); oTBody.appendChild(oTR); oTable.border = 1; oTable.appendChild(oTBody); t.appendChild(oTable); </script> <textarea id="test" rows="20" cols="50"></textarea> <Script Language="JavaScript"> var oImg=document.createElement("IMG"); oImg.src="http://www.2yup.com/asp/images/asp_logo1.gif"; test.appendChild(oImg); </Script>
------解决方案--------------------
FreeTextBox