摘要: 通过jQuery的$.ajax方法发送JSONP请求js代码 1 MVC中C#代码,即请求http://localhost:2528/Default2/JsonAuction/1 public class Default2Controller : Controller { public ActionResult JsonAuction(int id) { Person p = new Person() {Age=28,Email="tom@tom.com" };//模拟数据Person类见下面 retu... 阅读全文
posted @ 2014-01-24 16:21 JesseLZJ 阅读(755) 评论(1) 推荐(0) 编辑