you guys are joking with each other right?
haha
And dont disrespect IE here in this mail list or you'll get kicked.
:D


--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces


On Thu, Feb 11, 2010 at 3:49 PM, Trevor Orr <[email protected]> wrote:

> Thanks for the info, that sounds like it should work and an easy way to get
> what I need.  When I said great fucntionality I meant that one function
> (outerHTML) not the browser itself.  I am by no means a fan of IE.
>
>
>
>
> On Thu, Feb 11, 2010 at 4:27 AM, SamGoody <[email protected]> wrote:
>
>> 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.
>>
>
>

Reply via email to