I use ajax request post and I add another var in data like
$.ajax({
url: action_url,
type: "POST",
data: formData + "&par1=1",
success: function(data) {
alert(data);
},
error: function() {
alert("Oops..!! Problem Ocurred. Please Try Again..!!");
}
})
then you see +&par1=1
i want to change 1 into variable how could I do it?