Mohsen Saboorian, > Does loading a piece of html code inside a page recreate the document > model tree of the page? I want to just load an html (with ajax) and > set it as myelement.innerHTML. > You can safely use innerHTML without having to worry about the rest of the DOM-tree. Edwin Martin -- http://www.bitstorm.org/