后台网页中的编辑东西是这样放到代码里的?

来源:百度知道 编辑:UC知道 时间:2024/05/29 04:34:30
后台编辑文章的编辑东西是怎样放到代码里的?有源代码么?

看见后台有个很好编辑新闻的。。。不知道代码怎么写的。。有提示么?
QQ:103218585

<textarea style="display:none" name="txtcontent"><%=Server.HtmlEncode(mcontent)%></textarea>
<iframe id="detail" src="../htmledit/ewebeditor.asp?id=txtcontent&style=s_coolblue" frameborder="0" scrolling="no" width="550" height="350" name=cnEditBox ></iframe>
你要编辑器么?上面的代码是页面里我编辑器区的代码。
我的编辑器是放在表单里的。
对表单加个事件后,表单外获取
mContent = trim(Request.form("txtcontent"))

去网上下载一个eWebEditor在线编辑器,功能强大
官方网站http://www.ewebeditor.net/
使用方法如1楼上所说的法.