ASP.NET MVC 3 RC MS中的AFAIK已被弃用,而所有
Ajax.*辅助方法都使用jQuery
。Javascript也变得不那么引人注目。这意味着您不再需要打电话,
.get_response().get_object()而只需:
function JsonAdd_onComplete(myObject) { // here myObject is already the JSON object // as returned by the controller action alert(myObject.Message);}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)