怎么样才能在案.cs页面中渠道内容呢?下面是在.aspx页面中的调用代码:
<textarea name="d_content" style="display:none" rows="1" cols="20">测试代码</textarea>
<iframe id="eWebEditor1" src="edit/ewebeditor.htm?id=d_content&style=standard650&skin=vista1" frameborder="0" scrolling="no" width="650" height="350"></iframe>
<textarea name="d_content" style="display:none" rows="1" cols="20">测试代码</textarea>
<iframe id="eWebEditor1" src="edit/ewebeditor.htm?id=d_content&style=standard650&skin=vista1" frameborder="0" scrolling="no" width="650" height="350"></iframe>
<textarea name="d_content" style="display:none" rows="1" cols="20">测试代码 </textarea>
<iframe id="eWebEditor1" src="edit/ewebeditor.htm?id=d_content&style=standard650&skin=vista1" frameborder="0" scrolling="no" width="650" height="350"> </iframe>
说明白
<iframe id="eWebEditor1" src="edit/ewebeditor.htm?id=d_content&style=standard650&skin=vista1" frameborder="0" scrolling="no" width="650" height="350"> </iframe> 正确应该这样
<textarea runat=server id="d_content" name="d_content" style="display:none" rows="1" cols="20">测试代码 </textarea>
<iframe id="eWebEditor1" src="edit/ewebeditor.htm?id=d_content&style=standard650&skin=vista1" frameborder="0" scrolling="no" width="650" height="350"> </iframe>
取值:string strText=this.d_content.value;
ID.InnerHTML或ID.InnerText比较好
一个取带HTML标签的文本,比如:<div>aa</div>,这就是带HTML标签的文本
一个是取不带HTML标签的文本