I really don't know why but the function(response)-part won't be executed at all - although the Get Method in my Controller gets called by getJSON.
Script:
$.getJSON(getUrl, {
BUID: buID,
AID: aID,
LID: lID
}, function (response) {
$('#Test').text("TEST");
})
};
Controller:
public JsonResult GetMeasures(int buID) {
return Json(new { Success = true });
}
The Text of my span element doesn't get changed into "TEST".