Thanks for your help everyone, in the end I decided to send HTML back as responseText instead of responseXML and just assign it to the innerHTML as suggested. There was no real advantage in me using XML for this anyway.
Thanks again!
Thanks for the suggestion theniteowl... If I understand you correctly are you saying do something like this?
var oNewNode = theXML.getElementsByTagName('xmldata')[0];
timesheetbody.innerHTML=oNewNode;
Unfortunately that returns: [object Element] - as the node is an XML element.
Hi,
I have started using xmlhttprequests and post data to a server side program that then generates XML and sends it back to the page. The XML is actually something like this:
<xmldata>
<tbody>
<tr id="row1" onClick="rowSelect(1,'0x000eac01');">
<td id="row1cell1"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.