Code
please give the correctCode
Code
$.ajax({Code
url: "/Home/SaveDetailedInfo",Code
type: "POST",Code
data: JSON.stringify({ 'Options': someData}),Code
dataType: "json",Code
traditional: true,Code
contentType: "application/json; charset=utf-8",Code
success: function (data)Code
});
the above marked content replaced by
data: function()Code
Code
function()Code
{Code
return ('Options': someData);Code
}

Yogi SRank #511 · 4.8K reputationPosted Feb 1, 2017, 7:54 PM EST