Using .post but need to serialize the data
Hey all.
I am using the .post function and creating the URL by serializing the data needed but the seriazlized data is going through as a GET, not POST.
Any ideas on how to make the serialized data to go through as POST?
var url='http://mydomain/pm.jsp?mode=1&' + $('.defaultParms').serialize() + "&" + $('.jsonParm').serialize()
$.post(url,{
mode99: "1"
},
function(data)
In the above code, the mode99 is sent as a POST, the url value is sent through as a GET.
Any help would be appreciated.