I've created a form based on edits from another post I found on here, where the HTML form outputs in XML format once the submit button has been clicked. How do I now take this data once transformed and post it to a third-party server via HTTP POST instead of outputting on html?
My code in its current form can be found here. http://jsbin.com/iyokay/15/edit
My knowledge of Javascript isn't great so any code based help would be greatly appreciated.
$.ajax({url:"third-party", type:"POST", contentType:"text/xml", data:newXml)