就地编辑以及拖动排序Edit in Place with JavaScript and CSS大致原理示意<textarea id="oHtml" onblur="op.innerHTML=this.value"></textarea> <p id="op" ondblclick="oHtml.value=this.innerHTML">123123123<font colo="red">red text</font></p>
原文地址:http://blog.guoshuang.com/david/tb.asp?blogArId=3189