新浪HtmlEditor在线编辑器怎么使用呀?页面是用.net开发的。
网上一些资料是这么用的。但是在我的站点里,还是不行,请高手指点谢谢。 <textarea id="cNote" runat="server" cols="50" name="cNote" rows="8" style="display:none;"></textarea>
<iframe id="MyIframe" runat="server" src="HtmlEditor/editor.htm?id=cNote&ReadCookie=0" frameBorder="0" marginHeight="0"
marginWidth="0" scrolling="No" width="621" height="459"></iframe>
网上一些资料是这么用的。但是在我的站点里,还是不行,请高手指点谢谢。 <textarea id="cNote" runat="server" cols="50" name="cNote" rows="8" style="display:none;"></textarea>
<iframe id="MyIframe" runat="server" src="HtmlEditor/editor.htm?id=cNote&ReadCookie=0" frameBorder="0" marginHeight="0"
marginWidth="0" scrolling="No" width="621" height="459"></iframe>
第三方控件,一拖就能用了。有很多属性可以自己设置!
<input type="hidden" value="" name="cNote" id="cNote">
<iframe id="MyIframe" runat="server" src="HtmlEditor/editor.htm?id=cNote&ReadCookie=0" frameBorder="0" marginHeight="0"
marginWidth="0" scrolling="No" width="621" height="459"> </iframe> 获取编辑器的值使用request.form["cNote"]
以上设置颜色的地方必须保持一致,编辑器是使用hidden保存值的
<input type="hidden" value="" name="cNote" id="cNote">
<iframe id="MyIframe" runat="server" src="HtmlEditor/editor.htm?id=cNote&ReadCookie=0" frameBorder="0" marginHeight="0"
marginWidth="0" scrolling="No" width="621" height="459"> </iframe> 获取编辑器的值使用request.form["cNote"]
以上设置颜色的地方必须保持一致,编辑器是使用hidden保存值的
大哥 代码中 有 两个ID 都是“cNote”,都重复了 。Js 怎么定位呀?这个方法不对呀。
群里肯定有人能解决您的问题!
<input type="hidden" value="" name="cNote" id="cNote">
<iframe id="MyIframe" runat="server" src="HtmlEditor/editor.htm?id=cNote&ReadCookie=0" frameBorder="0" marginHeight="0"
marginWidth="0" scrolling="No" width="621" height="459"> </iframe> 获取编辑器的值使用request.form["cNote"]
以上设置颜色的地方必须保持一致,编辑器是使用hidden保存值的
<textarea name="content" id="content" style="display:none"><%=Server.HtmlEncode(rs("content"))%></textarea><iframe src="Edit/editor.htm?id=content&ReadCookie=0" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" width="621" height="459"></iframe>核心部分<%=Server.HtmlEncode(rs("content"))%>
Server.HtmlEncode()我怎么放上去,不能显示数据啊