Friday, March 28, 2008

Javascript Concepts, Questions / Answers

=> Document Object Model (DOM), is a programming interface specification being developed by the World Wide Web Consortium (W3C). It lets a programmer create and modify HTML pages and XML documents as full-fledged program objects.

=> In some browsers (most notably, Firefox), although innerHTML is generally much faster than DOM methods, it spends a disproportionate amount of time clearing out existing elements vs. creating new ones. eg. when 1000 or more elements have to be changed.

No comments: