how do i register 'onUnload' script from a content page

  • Thread starter Thread starter fredd00
  • Start date Start date
F

fredd00

Hi

here is my problem

i use master pages and content pages

i would like for some content page to register a script that will
trigger on the 'onUnload' of the web page




can it be done with clientscript.register ....

if so how ?

Thanks
 
Sure,
you could do it as
<script>
window.onunload =whatevermethod;
</script>

Peter
 
thanks

it's always the obvious stuff that you can't find the solutions too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top