<input type="submit" name="Submit2" value="添加为新线路" onclick="AddNewLine()" /> <script language="JavaScript"> //添加新线路 function AddNewLine() { document.LineFrm.action="Admin_Line_AddOk.asp" document.LineFrm.submit() } --> </script>