Here’s the response:
{"Message":"Authentication failed.","StackTrace":null,"ExceptionType":"System.InvalidOperationException"}
how can i display an alert box with the value of "Message".
This has not worked for me:
error: function (data) { alert(data[0]); }
or
error: function (data) { alert(data.Message); }
try
taken from http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings