title: how alert message to client when the page want refresh?
body: <blockquote>
    <p>Hi to all I'm beginner in java script I need to make some alert and
    shown that when the page want refresh and done some work like
    counter=0 or delete a file how can I do this by jquery and java script?
    thank!</p>
  </blockquote>