[jQuery] jQuery.ajax How to send an xml document as data to the server
in the jQuery documentation:
Sends an xml document as data to the server. By setting the
processData option to false, the automatic conversion of data to
strings is prevented.
var xmlDocument = [create xml document];
$.ajax({
url: "page.php",
processData: false,
data: xmlDocument,
success: handleResponse
});
but, i never use this code works...
anyone who can give me the works code?