execute mvc action from jquery to view model code example
Example: how to access viewmodel in jquery
@(Html.HiddenFor(model => model.PropertyName))
$("#PropertyName").val();
@(Html.HiddenFor(model => model.PropertyName))
$("#PropertyName").val();