Create a hidden div, clone the element you need into it, get the
innerHtml of the parent.
var copy = $('whatIneedTheOuterHtmlOf').clone();
var Outer = new Element('div').adopt(copy);
var theHtml = Outer.get('html');
Outer.destroy();
Done from memory, but I think that's correct.
But, please don't talk that way about IE. While there are some
features that IE has that should be adopted by the other browser
vendors, to say it has "great functionality" is a banal insult to the
many many many many many tedious hours of bugging (messing up good
code to make it work in IE) that it causes.
On Feb 11, 3:55 am, Trevor Orr <[email protected]> wrote:
> Is there a way the get a tags outerHTML in mootools since it is apparently
> an IE only option, as much as I hate to admit it I since it was built by
> Microsoft I think that is great functionality.