我想在文本框中显示表情图片,怎么实现???
------解决方案--------------------------------------------------------
也许这段代码能帮助你
- HTML code
<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