MVC.Net一控制器放回Json給前臺

一.Jquery ajax與後臺交互 (1)$.ajax({ })方法 {}大括號中參數: type:‘post’/‘get’ – 提交方式一般都是post, url: ‘/controller/action’或者’@Url.Action(「action」,」controller」)’, data: { key:value 都是鍵值對形式存在,用key傳值給控制器傳值,key可以自己命名 }, d
相關文章
相關標籤/搜索