Netscape techies! What's the corresponging to IE's innerHTML? For example
creating a listbox dynamically.
What in Netscape?
OOP is not an answer I cannot use createElements and addChild funcions, because
they are **** slow.
For a listbox with 2000 elements it may be 30 seconds instead of 1.
Re: innerHTML alternative?
"Chopin" <firstname.lastname@example.org> wrote in message news:email@example.com...
> OOP is not an answer I cannot use createElements and addChild funcions,
> they are **** slow.
> For a listbox with 2000 elements it may be 30 seconds instead of 1.
If it helps, you can try this (which works in IE, dunno about Netscape):
listbox.options.length = 2000
This automatically creates the items, then you can just loop through and fill in
the properties. May be faster than calling createElement() 2000 times.
-- Matthew Solnit
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center