DOMParser for IE and Safari
Sunday, July 3rd, 2005A few days ago Dave over at the WebGraphics blog posted about how to parse a string into a DOM tree for Safari.
I commented “How about implementing the DOMParser object in js?” and before I knew it I did it myself and adding IE compatibility on the way:
if (typeof DOMParser == “undefined”) {
[...]