Javascript Class using the window.onunload event

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-05-17T11:15:31Z Indexed on 2010/05/17 11:20 UTC
Read the original article Hit count: 442

Hi All,

I have a javascript class with methods and properties.

Is it possible to wire this class up to a pageunload event?

I am trying to call a method in my class when the user moves pages.

How can I do this.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events