When Ajax sends data to the server, it uses this content-type. It is used when [setting.async.enable = true]
Default:"application/x-www-form-urlencoded"
contentType = "application/x-www-form-urlencoded", means: the sending data format is "form" format.
contentType = "application/json", means: the sending data format is "json" format. (for .Net)
var setting = {
async: {
enable: true,
contentType: "application/json",
url: "http://host/getNode.php",
autoParam: ["id", "name"]
}
};
......