0
大家好! 我控制器从MVC控制器创建Json数组
public JsonResult GetPlacesJson()
{
var result = myplaces.GetAllPlaces(); //return List
return Json(result,JsonRequestBehavior.AllowGet);
}
我需要创建一个JavaScript数组与JSON对象使用controller.I试图用$ .getJson(...),但我没有succeed.Could你能帮我吗? 谢谢!
就得到一个正常指定回报 –