private List<TreeEntity> treeList = new List<TreeEntity>();//创建一个树的List集合 public ActionResult GetTree1Json(string id) { var root = new DataItemBLL().GetEntity(id);//树的根节点 TreeEntity tree = new TreeEntity();//创建一个树的实体对象 tree.id = root.ItemId;//…
这篇文章介绍了JQuery 获取json数据$.getJSON方法的实例代码,有需要的朋友可以参考一下 前台: function SelectProject() { var a = new Array; var r = window.showModalDialog('SelProject.aspx', a, "dialogWidth=1000px; dialogHeight=600px; resizable: yes"); if (typeof (r) != 'undefined')…