Hi,

> Is there a way to get the equivalent of outerHTML's result of a node
> using jQuery ? (Y/n)

To get something that is similar to outerHTML in Firefox, this might help:
http://developer.mozilla.org/en/docs/XMLSerializer

> $("#test").jquerymagic()

jQuery.fn.jquerymagic = function() {
        return this.outerHTML ?
                return this.outerHTML :
                (new XMLSerializer).serializeToString(this);
}

Christof

Reply via email to