After calling my controller, I receive the JSON result below
{"data":"Monday"}
The data retrieved can be any day of the week (Sunday, Monday, etc...)
If the call is successful, I intend to execute this in the AJAX call
success: function(Response){
var myresponse = Response.data;
alert(myresponse);
}
Unexpectedly, I am receiving 'undefined' instead.