谁能帮我捕捉到一个变量的值?急,深表感谢!
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>