not in the onsubmit, because that's an event of the form object, you could test on the individual elements onclick events and onkeyup events though... jared@aauser.com
Is it possible to to see what the Submitted value is
for example if I press the following button
<input type="submit" name="myvalue">
is it possible to see this value "myvalue" submitted in a string eg name value pair or something like that anywhere.Can I test against this requested value.
You see to make it a bit clearer.I need to know which form element made my
submit or request to the JAVA Servlet.The java bit is not important here but
I have to validate some object and if my <input type="image"...> was not used
for the submit I need to cancel the submit by returning false depending on a
certain dropdown value selected.So in other cases eg. with buttons in the same
form the submit will return true.
maybe it is a bit clearer know or maybe not.
Thanx for your help in any case
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.