somemvcperson
somemvcperson

Reputation: 1253

ASP MVC 3 - Submit Ajax.BeginForm from Javascript

I have a few ajax forms dotted around my view, and I want one main submit which would submit all other ajax forms.

Is there any recommended way to do this via javascript? (i.e $("myForm).submit();)

Upvotes: 0

Views: 1052

Answers (1)

somemvcperson
somemvcperson

Reputation: 1253

Just use the normal $("#myForm").submit(); like detailed in my post, that does it for me.

Upvotes: 2

Related Questions