P
Patrick
I have an "image button" that appear like so (from View source from IE)
<input alt="Delete Items" src="../UserMods/butt_deleteItems.gif"
type="image" name="delete" value="Delete Incomplete Order" border="0">
the form is posted using HTTP POST.
<form METHOD="POST" name="restoreCart" action="custListCarts.asp">
How could I pick up whether this button is clicked?
I added the following debug code
%>DELETE=[<%=Request.Form("delete")%>]<br>
Restore=[<%=Request.Form("restore")%>]<br>
Request.Form=[<%=Request.Form%>]<%
Strangely, they produce this output:
DELETE=[]
Restore=[]
Request.Form=[orderNumbers=4428&idCust=996&delete.x=39&delete.y=3]
The delete.x and delete.y return different number each time it is clicked!
<input alt="Delete Items" src="../UserMods/butt_deleteItems.gif"
type="image" name="delete" value="Delete Incomplete Order" border="0">
the form is posted using HTTP POST.
<form METHOD="POST" name="restoreCart" action="custListCarts.asp">
How could I pick up whether this button is clicked?
I added the following debug code
%>DELETE=[<%=Request.Form("delete")%>]<br>
Restore=[<%=Request.Form("restore")%>]<br>
Request.Form=[<%=Request.Form%>]<%
Strangely, they produce this output:
DELETE=[]
Restore=[]
Request.Form=[orderNumbers=4428&idCust=996&delete.x=39&delete.y=3]
The delete.x and delete.y return different number each time it is clicked!