ASP.NET MVC Ajax.Begin form with many inputs (type=submit)

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-06-05T16:14:42Z Indexed on 2010/06/05 16:22 UTC
Read the original article Hit count: 315

Filed under:
|

Hi, I have an Ajax form :

<%using (Ajax.BeginForm(...)){%>
                    ...
   <input id="btn1" type="submit" value="OK1"/>
   <input id="btn2" type="submit" value="OK2"/>
<%} %>

both inputs do different jobs - is it possible to catch which input has been clicked ?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-ajax