$ (документ) .ready (function () {
$("#btnCreate").click(function () {
prepareCheckedQuestion();
questionCountOperation();
var NoOfQuestion= $("#hideCountedQuestions").val();
var SelectedQuestion = $("#hidSelectedQuestions").val();
$.ajax({
type: "POST",
url: '@Url.Action("CheckValidation1", "Dashboard")',
contentType: "application/json; charset=utf-8",
dataType: "json",
data: NoOfQuestion,SelectedQuestion,
success: function `enter code here`(data) { alert('Success'); },
error: function (data) { alert('Error'); }
})`enter code here`
public JsonResult CheckValidation1 (список
NoOfQuestion, список выбранных вопросов)