大家好,我得到了以下错误:jquery-3.1.1.slim.min.js:2 jQuery.Deferred exception: $.getJSON is not a function TypeError: $.getJSON is not a functionr.Deferred.exceptionHook @ jquery-3.1.1.slim.min.js:2
jquery
我试图解析来自json文件的数据,但我得到了变量输出(有时是正确的,有时是空的)。我非常确定这与解析文件所需的时间有关,但找不到位置。public List<KeyedList<string, Hspital>> GroupedHospitals get getJsonreturn new List<KeyedList<string, Hspital>>(groupedHospital)
我在使用$.getJSON时遇到了问题,因为我总是收到错误"Request format is unrecognized for URL unexpectedly ending in '/GetBranches'“$.getJSON('testWS.asmx/GetBranches', function (data, status, xhr) {console.log(data);