> the function returns the created element to javascript > which then inserts it into the DOM in the correct position,
Yes, but that's just part of it. Each tag/element is put in the tree in its correct position, and also put in the list. It is linked in two places. That's how it works when produced by html. <form> creates a form object, which is somewhere in the dom tree, and *also* in the list of forms. I guessed, not much more than a guess, that that is how it works for elements created dynamically. An element e is placed somewhere in dom, as directed by javascrtip, and also put on the list of said elements, that part perhaps happening automatically. So I made the second part happen automatically, again being just a guess. Maybe the only way to know if my guess is right is to write some javascrtip, createElement, and alert document.list.length, and run it in a commercial browser and see what it says. We may be doing more and more of this; it's just hard to find descriptions of how this stuff really works on the internet. Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
