satts
satts

Reputation: 33

Creating XML document in jQuery environment

Have referred to JQuery docs where they mention this piece of code.

var xmlDocument = [create xml document];
 $.ajax({
 url: "page.php",
 processData: false,
 data: xmlDocument,
 success: handleResponse
 });

but i am trying to make the same request in Adobe AIR environment its giving a parse error.

Is there any specific way of creating an xml Document using jQuery.

Upvotes: 1

Views: 9112

Answers (2)

satts
satts

Reputation: 33

Thank you all

I have got a plugin at this location

Upvotes: 1

Scott M.
Scott M.

Reputation: 7347

in order for the server to get the data, you need to say

data: "varname=" + xmlDocument,

otherwise the data has no variable name on the other side of the transmission.

Upvotes: 0

Related Questions