62,041
社区成员
发帖
与我相关
我的任务
分享
public JsonResult GetListJSON()
{
List<string> list = new List<string>();
list.Add("s1");
list.Add("s2");
return Json(list, JsonRequestBehavior.AllowGet);
}
View:
$.post("/Sort/GetListJSON", {}, function (json) {
//alert(typeof(json));
}, "json");