On Feb 6, 11:23 pm, jdalton <[email protected]> wrote: > > But I wanted to point out that unlike in IEs there's not any problem(s) > > with innerHTML in Chrome nor in Safari nor in Firefox nor in Opera. Only in > > Microsoft's Internet Explorer(s). > > Not so, while working on FuseJS (I also see checks in jQuery) I > noticed several browsers, not just IE, have problems with innerHTML > with colgroups, optgroups, fieldsets and select elements.
Talk is cheap, show me the code :-) > > And innerHTML is no more any faster than DOM methods, at least not in > > webkits:http://jsperf.com/dom-methods-vs-innerhtml > > Tryhttp://jsperf.com/dom-methods-vs-innerhtml/2 > On iPhone's mobile Safari I got DOM methods being 49% slower. Look again. > Though Diego makes an excellent point about concating innerHTML values > as it paves previous node references and rewrites the element's > contents from scratch. Of course. That's what innerHTML does. -- 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]
