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?