So I played with Anti Forgery Token, making progress thanks to you guys.
I figured out a solution to combine the values of the forms and get my ActionMethods so as not to attack the AntiForgery token ... I, unfortunately, violated the validation in the process. An AJAX message is triggered before a client-side check / client-side check is ignored. The server side is working, however I would have unearthed some verification before the message. Here is the code I'm using.
$(document).ready(function () {
$('input[type=submit]').live("click", function (event) {
event.preventDefault();
var _tokenForm = $(this).parents().find("#__AjaxAntiForgeryForm");
var _currentForm = $(this).closest('form');
var _updateElement = $(_currentForm).attr("data-ajax-update");
var arr = $(_currentForm).serializeArray();
$.merge(arr, $(_tokenForm).serializeArray());
$.ajax({
type: "POST",
url: $(_currentForm).attr('action'),
data: arr,
success: function (data) {
$(_updateElement).html(data);
}
});
return false;
});
});
So, I think I need to handle the client-side check somehow before $ .ajax goo ... Any suggestions might save me some time.