Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Efficiency of innerHTML over DOM tree manipulation
- From: javascript at mattbarton.org (Matt Barton)
- Subject: [Javascript] Efficiency of innerHTML over DOM tree manipulation
- Date: Wed Jun 28 06:15:50 2006
Hi, I've hit a problem with my companies web application in that I need to dynamically create a (potentially very large) number of html select controls in a page, in javascript. We have been, up to now, using the innerHTML property of a parent div to plant the select control code in the correct place in the page. However, of late, we have seen our pages which do involve a large number of these dynamically created select controls running much slower than we would ideally like. My question to the group is, would there be any intrinsic efficiency benefit in our switching to use the DOM tree manipulation method that some ajax programmers use to insert html snippets into web pages? Is either method more efficient than the other? Thanks in advance Matt
- Follow-Ups:
- [Javascript] Efficiency of innerHTML over DOM tree manipulation
- From: Steve Clay
- [Javascript] Efficiency of innerHTML over DOM tree manipulation
- From: Nick Fitzsimons
- [Javascript] Efficiency of innerHTML over DOM tree manipulation
- From: Paul Novitski
- [Javascript] Efficiency of innerHTML over DOM tree manipulation
- Prev by Date: [Javascript] Re: sounds IE tested worikng!
- Next by Date: [Javascript] Re: sounds IE tested worikng!
- Previous by thread: [Javascript] Questions about document.readyState
- Next by thread: [Javascript] Efficiency of innerHTML over DOM tree manipulation
- Index(es):