我使用ajax请求帖子,我在
等数据中添加了另一个var$.ajax({
url: action_url,
type: "POST",
data: formData + "&par1=1",
success: function(data) {
alert(data);
},
error: function() {
alert("Oops..!! Problem Ocurred. Please Try Again..!!");
}
})
然后你会看到+& par1 = 1
我想将1变为变量我该怎么做?