[Javascript] DOM vs AJAX

Michael Borchers list at tridemail.de
Tue Jun 20 03:21:28 CDT 2006


when i discovered DOM i used it to dynamically create form elements.
now i also use AJAX.

with DOM i'd have to really create every element,
but with AJAX i would simply store the elements in a seperate file
and then import it into a <div>.

seems much easier ans quicker to me.

any disadvantages?



More information about the Javascript mailing list