[dev] Re: [cvs] commit: horde/templates/javascript tree.js

Jan Schneider jan at horde.org
Sun Feb 23 19:55:21 PST 2003


Zitat von Marko Djukic <marko at oblo.com>:

> Quoting Jan Schneider <jan at horde.org>:
> 
> > Why do you use the proprietary innerHTML instead of
> document.createElement()?
> >
> > Jan.
> 
> as far as i could understand from the docs, innerHTML is a _lot_ faster
> than
> createElement() in this situation, and since innerHTML seems to be
> supported by
> enough browser thought it would be the best solution.

AFAIK only by IE and Mozilla. But correct me if I'm wrong.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list