Following is the form
@using (Html.BeginForm(MVC.CollectionPlanConfirmation.ActionNames.Edit, MVC.CollectionPlanConfirmation.Name, FormMethod.Post, new { @id
Try this:
HTML
<input type="button" value="Save" class="aSubmit" />
SCRIPT
$(function () {
$(document).on('click', '.aSubmit', function () {
$('#collectionPlanForm').submit();
});
});
DEMO FIDDLE
The best way to perform a submit for jquery is in this way.
$('#submitButton').click( function() {
$.ajax({
url: 'some-url',
type: 'post',
dataType: 'json',
data: $('form#myForm').serialize(),
success: function(data) {
console.log("success");
}
});
});
http://jsfiddle.net/BD3Rt/
Always nice to keep html clean and separate your jquery/javascript code.
put ID for form and use $("#yorID").submit()
and you can see the example here
example