我想返回StudentId到外的其他地方使用范围的$.getJSON()
StudentId
$.getJSON()
j.getJSON(url, data, function(result) { var studentId = result.Something; }); //use studentId here
我猜想这是与范围有关,但它似乎不相同的方式工作C#不
javascript ajax jquery scope return-value
ajax ×1
javascript ×1
jquery ×1
return-value ×1
scope ×1