What is the best way to parse (get a DOM tree of) a HTML result of XmlHttpRequest in Firefox?
EDIT:
I do not have the DOM tree, I want to acquire i
innerHTML should work just fine, e.g.
innerHTML
// This would be after the Ajax request: var myHTML = XHR.responseText; var tempDiv = document.createElement('div'); tempDiv.innerHTML = myHTML.replace(/