What am I doing wrong? Following does not upate my json object:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
function getJson() {
$.getJSON("http://laptop/EstimatorWeb/GetConfig.ashx", function (da) {
json = da;
//document.getElementById("resDiv").innerText=da;
}).success(function () {
alert("second success");
}).error(function () {
alert("error");
});
I can see my web services returning a JSON object in FIddler. It is just this last piece that is not updating the object. I do not receive any alert either for success or for error.