www.gusucode.com > 云枫工作室企业网站源代码第五版 1.0 > docc/admin/editor/帮助.txt
标准调用: <input type="hidden" name="content1" value=""> <iframe ID="eWebEditor1" src="/ewebeditor.asp?id=content1&style=standard" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe> <textarea name="content1" style="display:none"></textarea> <iframe ID="eWebEditor1" src="/ewebeditor.asp?id=content1&style=standard" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe> 修改表单: <input type="hidden" name="content1" value="<%=Server.HTMLEncode(oRs("D_Content"))%>"> <iframe ID="eWebEditor1" src="/ewebeditor.asp?id=content1&style=standard" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe> <textarea name="content1" style="display:none"><%=Server.HTMLEncode(oRs("D_Content"))%></textarea> <iframe ID="eWebEditor1" src="/ewebeditor.asp?id=content1&style=standard" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe> 注意事项: eWebEditor允许在同一表单里有多个,但请保证id在整个网页中是唯一的。即如果已经用了input name=content1第二个调用就要input name=content2之类的。 在使用textarea作为原表单项时,要加入style="display:none"。 在input修改时一定要用value="",而不是value=''。 一定要在动态加入value值时用Server.HTMLEncode()进行处理,否则有可能内容被截掉。