Can someone help me understand what this Firebug method is doing?
this.appendInnerHTML = function(element, html, referenceElement)
{
var doc = element.ownerDocument;
var range = doc.createRange();
range.selectNode(doc.body);
var fragment = range.createContextualFragment(html);
element.insertBefore(fragment, referenceElement);
};
jjb
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---