Hi all
How can I pass the variable in two button situation see below code
<html>
<body>
<form action="" method="post">
<input type="text" name="name">
<input type="button" value="Add"
onclick="this.f orm.action='add .asp?name=<%=na me%>';this.form .submit();"><br >
<input type="button" value="Delete"
onclick="this.f orm.action='del ete.asp';this.f orm.submit();">
</form>
</body>
</html>
As a result, I got to the next page , but showing error
thanks in advance
wei
How can I pass the variable in two button situation see below code
<html>
<body>
<form action="" method="post">
<input type="text" name="name">
<input type="button" value="Add"
onclick="this.f orm.action='add .asp?name=<%=na me%>';this.form .submit();"><br >
<input type="button" value="Delete"
onclick="this.f orm.action='del ete.asp';this.f orm.submit();">
</form>
</body>
</html>
As a result, I got to the next page , but showing error
thanks in advance
wei
Comment