How to Send a XMLHttpRequest.responseXml to a JSP file after editing it in javascript?
I am having a xml file. I am loading the xml file using AJAX and making changes to the responseXml by adding new elements to it. Now i want to overwrite 开发者_如何转开发the xml file with modified xml document by sending it to a jsp page. How to send the modified responseXml object to a jsp page?
If you already calling from a jsp, then put some dummy div like
<div id='abc'></div>
and then once u get a response after success add line as
document.getElementById('abc').innerHTML = response;
Let me know If u use any framework....
Have a read of this
How to send a XML doc to server from client in jQuery
精彩评论