Following is the form
@using (Html.BeginForm(MVC.CollectionPlanConfirmation.ActionNames.Edit, MVC.CollectionPlanConfirmation.Name, FormMethod.Post, new { @id
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.