准备工作 ·Customer类 public class Customer { public int Unid { get; set; } public string CustomerName { get; set; } public string Memo { get; set; } public string Other { get; set; } } ·服务端处理(Json_1.ashx) Customer customer = new Customer …
今天看了下jQquery中的getJSON()方法,做点小结: 原型: jQuery.getJSON( url [, data ] [, success(data, textStatus, jqXHR) ] ) This is a shorthand Ajax function, which is equivalent to 官网解释:意思是$.getJSON是Ajax方法的简写,等价于下面的写法: $.ajax({ dataType: "json", url: url, data:…
http://www.formget.com/jquery-post-data/ jQuery Ajax Post Data Example Fugo Of FormGet jQuery $.post() method is used to request data from a webpage and to display the returned result (sent from requested page) on to that webpage from where the reque…