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
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL