Hi
Anybody know how to determine which submit button was pushed in a form with
multiple submit buttons in the onsubmit function in javascript?

ie

<script>
function me(){
what to write here to determine if its value 1 or 2?
}
</script>
<form onsubmt="return me()">
<input type="text" name = "me1">
<input type="submit" name = "me1" value="1">
<input type="submit" name = "me2" value="2">
<form>

If you tell me to look in the form structure, then you didnt read the
question.

Thanks.
--
DRE
www.webmachineinc.com <http://www.webmachineinc.com>
www.theanticool.com <http://www.theanticool.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219016
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to