谁能帮我捕捉到一个变量的值?急,深表感谢!

hoget 2003-06-14 12:08:46
以下是我截取的一段用网页制作的文本编辑器的代码。它将提交到OK.asp文件,谁能把除了T1、T2、T3之外的另一个变量的值帮我捕捉到?我怎么读取它?即我所编辑的内容。(我已经用线括好了。)


<form name=form2 method=post action=ok.asp>
<table width="100%">
<tr>
<td width="10%">标题</td>
<td><input type="text" name="T1" size="60"></td>
</tr>
<tr>
<td width="10%">作者</td>
<td><input type="text" name="T2" size="20"></td>
</tr>
<tr>
<td width="10%">摘自</td>
<td><input type="text" name="T3" size="30"></td>
</tr>
</table>
<table width="100%">
<tr><td width="10%">内容</td>
<td></textarea>
//---------------------------------
<IFRAME width="98%" name=content height="270" onfocus="SetEdit(this)" marginWidth=1 marginHeight=1 scrolling=yes>
</IFRAME>
//-----------------------------------

</td></tr></table>
<center>
<INPUT type="button" value=" 编辑模式 " name=visualedit onclick="EditConVis()" class="ButtonStyle" style="cursor:hand;background-Color:#C8D2EC">
  
<INPUT type="button" value=" 源码模式 " name=viewcode onclick="EditConCode()" class="ButtonStyle" style="cursor:hand" disabled>
  
<INPUT type="submit" value=" 提 交 " class="ButtonStyle" >
</center>
</form>

本网页的前面有个语句是
<script language=JavaScript src="edit.js"></script>
...全文
36 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
jsidiot 2003-06-15
  • 打赏
  • 举报
回复
xiaoshi0969@sina.com
hoget 2003-06-14
  • 打赏
  • 举报
回复
谁能帮我改我把代码发给他。留下信箱。
但是还要帮我做一个能编辑的啊(也就是说,能以网页HTML的方式读出来更改)。
hoget 2003-06-14
  • 打赏
  • 举报
回复
是这样的,我的这个页面中利用<IFRAME width="98%" name=content height="270" onfocus="SetEdit(this)" marginWidth=1 marginHeight=1 scrolling=yes>
</IFRAME>这条语句在网页里面自动插入了一个文本区域,这个文本区域中的内容可以被编辑,比如设置字体、颜色、大小等。现在是,我如何在编辑完成后,在另一个网页中把这些内容读出来。
jsidiot 2003-06-14
  • 打赏
  • 举报
回复
另外一个变量总的有名字把?
你最好能够详细叙述一下
sw47 2003-06-14
  • 打赏
  • 举报
回复
把原码贴全,你的函数都没有怎么帮你?我作过类似的说
hoget 2003-06-14
  • 打赏
  • 举报
回复
大家帮帮忙,我很急的。

87,917

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧