HI all, I might be going about this all the wrong way, so any thoughts would be great.
Currently I have a form that takes data from the user input formats it into XML, puts that XML into a textarea and automatically submits it with document.insert.submit(); to this parse.php file.
I don’t have any idea how the parse.php file handles data, but know it returns an XML string to me if I feed it some XML.
I am trying to get this XML data that is returned into a string or variable I can break apart and take certain parameters out of.
I have looked at the .ajax() jquery, but am not sure how to submit this form and get my data returned in a variable from it.
How can I get this XML that is being returned?
Thanks!
Just add this script to your page:
And then try to submit your form. You’ll get the xml from the server.
Hope this helps. Cheers