<div class="codetitle"> <span><a style="CURSOR: pointer" data="64844" class="copybut" id="copybut64844" onclick="doCopy('code64844')"><u>复制代码</u></a></span>代码如下:</div> <div class="codebody" id="code64844"> <br><script language="javascript"> <BR>函数修改() <BR>{ <BR>document.form1.action="modify.jsp"; <BR>document.form1.submit(); <BR>} <br><br><BR>函数删除() <BR>{ <BR>document.form1.action="delete.jsp"; <BR>document.form1.submit(); <BR>} <BR></脚本> <br><br><表单名称=“form1”操作=“”> <BR><INPUT Type="Button" Name="Modify" value="修改改" onClick="modify()"> <BR><输入类型=“按钮”名称=“删除”值=“删除除”onClick=“删除()”> <BR></表格> <BR></script> </div>