C
c676228
Hi all
I have the following code:
I am trying to use the value of the image button to evaluate what plan the
user has chosen, i.e. it request("submit1")="Basic", then the user chose
basic plan ...
But when I click one of the image button, the thing is different from what I
thought.
it seems that it has field name like submit1.x=24&submit1.y=10, looks like
the form submit swith the image button position values instead of the value
of the submit button itself. Am I crazy of doing this way? what should I do?
Thank you
<tr>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select1_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iBTotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="BasicPlan"
value="Basic" >
</div></td>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select2_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iPTotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="PlusPlan"
value="Plus"
</div></td>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select3_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iETotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="ElitePlan"
value="Elite" >
</div></td>
</tr>
I have the following code:
I am trying to use the value of the image button to evaluate what plan the
user has chosen, i.e. it request("submit1")="Basic", then the user chose
basic plan ...
But when I click one of the image button, the thing is different from what I
thought.
it seems that it has field name like submit1.x=24&submit1.y=10, looks like
the form submit swith the image button position values instead of the value
of the submit button itself. Am I crazy of doing this way? what should I do?
Thank you
<tr>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select1_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iBTotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="BasicPlan"
value="Basic" >
</div></td>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select2_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iPTotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="PlusPlan"
value="Plus"
</div></td>
<td valign="bottom" style="height:260px;width:200px;
background-image:url(image/select3_bg.png); background-position:bottom;
background-repeat:no-repeat"><div align="center"
style="padding-bottom:15px;color: #333333; font-weight:bold">Total Rate
<%=FormatCurrency(iETotalDue)%><br>
<input type="image" src="image/buynow_voyager.jpg" name="ElitePlan"
value="Elite" >
</div></td>
</tr>