On Feb 7, 3:49 am, Miller Medeiros <[email protected]> wrote:
> instead of focusing on who is wrong or which test proves better that
> browserX is better than browserY, etc... what do you guys would favor on a
> project that you know that you will need to append/remove elements multiple
> times? I was curious to see if anyone had a different perspective...
>
> I find that using `createElement` is way more Object-Oriented than pushing
> strings and helps me a lot... I even wrote about it a couple weeks 
> ago:http://blog.millermedeiros.com/2011/01/why-most-js-devs-dont-understa...

You're on the right track. Use fragments, replaceChilds,
createElements, etc. That's fine.

What's not fine is to say that .innerHTML is broken in webkits. Where
it's broken (and badly broken) is in IEs.

And if someone comes to warn you about "circular references" and
"leaks", you should ignore him too. Because these are bugs exclusive
of IEs. As 99.99% of the bugs of .innerHTML.
--
Jorge.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to