论坛: 编程破解 标题: asp表单赋值的疑惑帮帮我 复制本贴地址    
作者: bailove [bailove]    论坛用户   登录
我一直没有弄明白 eWebEditor  在线编辑  是如何把 在里面编辑的内容  返回到调用页
调用只有这么一句,是不可能赋值到 content表单的

      <TD>新闻内容:</TD>
      <TD><input type="hidden" name="content" value=""> <IFRAME ID="eWebEditor1" SRC="../eWebEditor/ewebeditor.asp?id=content&style=s_light" FRAMEBORDER="0" SCROLLING="no" WIDTH="550" HEIGHT="350"></IFRAME><font color=#ff6600> *</font></TD>
  </TR>
在emebeditor下我也找不到对  对调用页表单的赋值~~~

  有人解决我这个疑惑吗?

地主 发表时间: 05-10-05 23:02

回复: 286 [unique]   版主   登录
eWebEditor1控件将调用eWebEditor/ewebeditor.asp?id=content&style=s_light中的内容并显示,不知你说的赋值是什么意思?

B1层 发表时间: 05-10-08 16:15

回复: bailove [bailove]   论坛用户   登录
是把  编辑器中编辑的内容 赋值到 content的表单 用于提交

  后来 我弄清楚  大概是用了 document.myform.myfield.value="abc".  类似的语句 对父窗体 变量赋值
  但我在eWebEditor目录下 没有找到这样的语句


B2层 发表时间: 05-10-11 23:19

回复: 286 [unique]   版主   登录

<%
Content="你要赋的内容"
%>
<TD>新闻内容:</TD>
      <TD><input type="hidden" name="content" value=""> <IFRAME ID="eWebEditor1" SRC="../eWebEditor/ewebeditor.asp?id="+<%=Content%>+"&style=s_light" FRAMEBORDER="0" SCROLLING="no" WIDTH="550" HEIGHT="350"></IFRAME><font color=#ff6600> *</font></TD>
  </TR>
-------------------------------------------------------------------
不知道这样行不行,你可试试。

B3层 发表时间: 05-10-12 09:53

回复: bailove [bailove]   论坛用户   登录
哎  方向弄反了
是把里面的东西ewebeditor.asp 赋值到  content里面

B4层 发表时间: 05-10-13 12:33

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号