dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Deleting an object

  1. #1
    Join Date
    May 2006
    Posts
    1

    Deleting an object

    I have an object

    oMyObj = {initialize: function() {code here}}

    is it possible to create a method in the object which will run when the object is deleted or destroyed?

    Sam

  2. #2
    Join Date
    May 2003
    Location
    Between Baltimore and DC
    Posts
    3,579
    set the object to null

    Eric

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles