> 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. > And innerHTML is no more any faster than DOM methods, at least not in > webkits:http://jsperf.com/dom-methods-vs-innerhtml Try http://jsperf.com/dom-methods-vs-innerhtml/2 On iPhone's mobile Safari I got DOM methods being 49% slower. Though Diego makes an excellent point about concating innerHTML values as it paves previous node references and rewrites the element's contents from scratch. -JDD -- 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]
