473,408 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

picking up image buttons

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!

Jul 22 '05 #1
1 1075
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)

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Marek Mänd | last post by:
Can the <button><img></button> mutated via CSS so, that the inner image of <BUTTON> would entirely visually become the button itsself - I mean without the outer elements borders and so... ...
4
by: Ester | last post by:
I have an interior design of a living room with lights and aircond image. My task is to load the living room image without any light and aircond images as background image of a WebForm after that I...
1
by: Dave | last post by:
Hi all, I was trying to make an image submit button with a rollover and discovered to my suprise that there is no way to access a form element of the "image" type. I tried specifying it by name...
6
by: pmud | last post by:
Hi, I have created a very simple ASP.NET application which has a couple of ImageButtons which go to different SQL reports on clicking them. I have used Response.Redirect to send the user to the ...
17
by: santel_helvis | last post by:
Hi All, Could anyone tell me how to rotate the image in javascript. Which concepts I should concentrate to rotate the image
3
by: seamlyne | last post by:
The first method I ever used for multiple state buttons was to create a graphic for each button for each state: AboutUs_on, AbooutUs_over, AboutUs_out, etc. That works great when there are just a...
5
by: Steve JORDI | last post by:
Just a question using images as submit buttons and PHP4.4.4. It seems that my code correctly works in FireFox but not in IExplorer. For example, I have a FORM with 2 buttons called "search" and...
3
by: jrtiberius | last post by:
What I'm doing is a having scrollbar cycle thru a group of images in a picturebox. Then I have a group of buttons, which change their background image to meet the image displayed in the picture box...
3
by: kayahr | last post by:
Hi there, I have a strange problem in Internet Explorer (IE6 and IE7). I'm writing a JavaScript application which allows the user to edit a photo composition. So when the user selects a photo then...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.