stewartwebb
Programmer
Hi All,
I have a problem with window.onunload.
I have put the 'window.onunload' in our global javascript file and there is also a 'window.onunload' on the page. The problem is that it will perform the function from the page but not the function in the global javascript.
When I remove the function from the page the global function will then work.
It seems you can only have 1 'window.onunload' per page, is there a way round this to have 1 on the page and 1 on the global javascript?
Thanks
Stewart.
I have a problem with window.onunload.
I have put the 'window.onunload' in our global javascript file and there is also a 'window.onunload' on the page. The problem is that it will perform the function from the page but not the function in the global javascript.
When I remove the function from the page the global function will then work.
It seems you can only have 1 'window.onunload' per page, is there a way round this to have 1 on the page and 1 on the global javascript?
Thanks
Stewart.