L
linuxping
Unregistered / Unconfirmed
GUEST, unregistred user!
<form name="LatticeEditorForm" method="post" action="admin_ppbj.asp" onSubmit="return CheckForm();">
<table><tr><td>
<input type="hidden" id="index" name="which" value="1"> <!-- 默认提交"公司简介" -->
</tr></td>
<tr><td>
<input type="submit" name="B1" value="修改" onClick="document.LatticeEditorForm.content.value = frames.LatticeEditDocument.document.body.innerHTML;">
<./tr></td>
<tr><td>
<input type="reset" name="B2" value="重写">
</tr></td>
</form>
如何用javascript修改隐藏域<input type="hidden" id="index" name="which" value="1">的值?
<table><tr><td>
<input type="hidden" id="index" name="which" value="1"> <!-- 默认提交"公司简介" -->
</tr></td>
<tr><td>
<input type="submit" name="B1" value="修改" onClick="document.LatticeEditorForm.content.value = frames.LatticeEditDocument.document.body.innerHTML;">
<./tr></td>
<tr><td>
<input type="reset" name="B2" value="重写">
</tr></td>
</form>
如何用javascript修改隐藏域<input type="hidden" id="index" name="which" value="1">的值?