How does an Action call two different methods
- 2020-03-30 03:04:11
- OfStack
<Script Language="javascript">
function modify()
{
document.form1.action="modify.jsp";
document.form1.submit();
}
function delete()
{
document.form1.action="delete.jsp";
document.form1.submit();
}
</Script>
<form name="form1" action="">
<INPUT Type="Button" Name="Modify" value=" repair change " onClick="modify()">
<INPUT Type="Button" Name="Delete" value=" delete In addition to " onClick="delete()">
</form>