- HTML code
<textarea cols="10" id="txt_art_content" name="content1" runat="server"> <%=content%></textarea>
我google了很多,但是没有用的,我的runat=“server”必须要的, 如何解决?
- HTML code
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"><textarea cols="10" id="txt_art_content" name="content1" runat="server"> <%=content%></textarea> <iframe id="eWebEditor1" src="eWebEditorExtension/ewebeditor.htm?id=txt_art_content&style=coolblue" frameborder="0" scrolling="no" width="500" height="100%" style="width: 100%"> </iframe> <asp:Button ID="btnUpdate" runat="server" Text="修改" onclick="btnUpdate_Click1" /> </form></body></html>
------解决方案--------------------------------------------------------
我这里没有出现那个错误了。
虽然跟这个没什么关系,但是还是换了吧,fckeditor。哎~
------解决方案--------------------------------------------------------
request.form("txt_art_content");
这个里面的参数必须是HTML 表单的NAME 而不是ID
晕。。。。。。。