I am using 3 images as submit buttons on my form. When the buttons are clicked, it calls some client-side function which will eventually return true and open up an asp.
How do I pass the value of these buttons to the asp? This is a sample of my code:
<body bgcolor="white" text="black" onload="document.areaform.area_no.focus();">
<form name="areaform" action="update.asp?action=area_info" method="post" onsubmit="return verifyarea()">
<center>
<h3>Area Information</h3>
<table border="0" width="75%" background="greenps.gif">
<tr><td><font size="1" face="verdana">Area Number<input type="text" name="area_no" maxlength="5" size="5"></td>
<tr><td><input type=image src=add.gif>
<input type=image src=update.gif>
<input type=image src=delete.gif></td>
</table>
Any help will be greatly appreciated.
How do I pass the value of these buttons to the asp? This is a sample of my code:
<body bgcolor="white" text="black" onload="document.areaform.area_no.focus();">
<form name="areaform" action="update.asp?action=area_info" method="post" onsubmit="return verifyarea()">
<center>
<h3>Area Information</h3>
<table border="0" width="75%" background="greenps.gif">
<tr><td><font size="1" face="verdana">Area Number<input type="text" name="area_no" maxlength="5" size="5"></td>
<tr><td><input type=image src=add.gif>
<input type=image src=update.gif>
<input type=image src=delete.gif></td>
</table>
Any help will be greatly appreciated.