chris feldmann wrote: > > The question of XHTML vs. say 4.01 HTML has no bearing on the > innerHTML dilemma (so long as you're using valid XHTML in your > innerHTML). The reason innerHTML is "tainted" is that it was a > non-standard method introduced by microsoft, so far as I understand > it. >
Yes, innerHTML is non-standard but supported by everyone at this point. Problem is when you serve with content-type application/xhtml+xml, innerHTML will not work, but IIRC firefox 1.5 supports it even in this case. http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_in_xh.html http://adahas.com/2005/05/innerhtml-in-applicationxhtmlxml/ > But the other horn of the dilemma is that innerHTML appears to be > faster than DOM node-appending methods: > http://www.quirksmode.org/index.html?/dom/innerhtml.html Yep, I've had already seen this, thanks for the link (that I had lost) to this excellent site. Ciao Michele --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
