A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Which submit is pressed
Joined: Jun 22, 2009
Jan 08, 2010 03:55:26
I have a form with two submits. Can i know which submit is pressed by the uses in the
Thank you in advance
Author and ninkuma
Joined: Jan 10, 2002
Jan 08, 2010 08:54:28
This is an HTML, not a
question. As such, it has been moved to the HTML forum.
Asking smart questions
Books by Bear
Joined: Jul 11, 2001
Jan 08, 2010 11:42:19
Only the submit button you clicked will be sent to the server.
GenRocket - A Test Data Generation Platform
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jan 08, 2010 11:59:23
Note that a submit button can have a unique name as well as text value.
Java Resources at
I agree. Here's the link:
subject: Which submit is pressed
how to make one jspform have two functions,,as follows
How to know which submit button is pressed in JSP for BaseLookupDispatchAction
How can a validator know which commandButton was clicked?
JSP Help-simple question
I don't doGet() it!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014