Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by farboo

  1. farboo

    Javascript, DOM and garbage collection

    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...
  2. farboo

    Javascript, DOM and garbage collection

    Sorry - a slight correction. The removeChild command in ObjectDelete() should read: pObject.parentNode.removeChild (pObject) ;
  3. farboo

    Javascript, DOM and garbage collection

    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") ...

Part and Inventory Search

Back
Top