$.ajax get and post template
Posted bad_programmer
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了$.ajax get and post template相关的知识,希望对你有一定的参考价值。
just for record
$.ajax({
type: "GET",
url: url,
data: {
param1: param1,
param2: param2
},
success: function (result) {
},
error: function (result) {
}
});
refer to http://www.w3school.com.cn/jquery/ajax_ajax.asp for more param.
以上是关于$.ajax get and post template的主要内容,如果未能解决你的问题,请参考以下文章
Ajax(Asynchronous Javascript And XML)
Difference between $.ajax() and $.get() and $.load()