I have a simple ajax call:
$.ajax({
url: 'http://localhost:39657/List/Receptacle',
dataType: "json",
success: function(json) { alert("success"); }
});
And in Fiddler, the entire response is:
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Sat, 18 Feb 2012 07:39:11 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 97
Cache-Control: private
Content-Type: application/json; charset=utf-8
Connection: Close
[{"Selected":false,"Text":"ABC","Value":"3"},{"Selected":false,"Text":"XYZ","Value":"4"}]
So it appears to have worked, but I get no alert...
What am I doing wrong here? Why is my JSON not parsing? Thank you.