Re: picking up image buttons

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Evertjan. (exjxw.hannivoort_at_interxnl.net)
Date: 12/06/04


Date: 06 Dec 2004 18:08:37 GMT

Patrick wrote on 06 dec 2004 in microsoft.public.inetserver.asp.general:

> 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=[]
>

<http://www.chami.com/tips/internet/042399I.html>

-- 
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Quantcast