1

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.

2 Answers 2

1

Thank you all

I have got a plugin at this location

Sign up to request clarification or add additional context in comments.

Comments

0

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.

1 Comment

FYI, you could also do this: data: {varname:xmlDocument}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.