Hello together, My first Question on Stackoverflow, I am new on the .NET MVC pattern and tried to call a Action using AJAX.BeginForm Helper Class in my Controller I return seralized JSON using return JSON();
In my view I Added a Scrip witch should consume the returnes JSON.
function ResultSet(request) {
var json = content.get_response().get_object();
var result = eval(json);
if (result.Successfull) {
alert("Success!");
}
else {
alert("else");
}
}
But instead if I am returned the Browser Shows me a Save Dialog to Save the JSON file.
Why?
Thanks in advance Johannes