Thanks Adam. Yes, I do have some circulars but I've gone in and cleaned them out. The full code looks something like this:
function ObjectDelete (pObject)
{
while (pObject.childNodes.length)
{
// Make a recursive call on the
// children of this object all the...
I'm working on a page that dynamically loads objects over the lifetime of the session. It also cleans up after itself and deletes these objects when necessary. Here's the core code for the constructor and deleter:
function ObjectCreate (pContent)
{
var oDiv = document.createElement ("DIV") ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.