any way to catch a page-refresh and pause it?
<p>Is there any way to catch a page refresh and pause it for a certain time period using javascript, jquery or whatever?</p>

<p>This is necessary to prevent accidentally pressing the refresh key amid an  important work which is  one-time ,and  needs to be processed and saved before the page gets refreshed.</p>

<p>In one of my previous questions posted in this forum, I had to face this issue, which is still unsolved, at a certain point during the discussion of the question. I think  posting it as an individual question is  quite worth it. The said question is <a href="http://stackoverflow.com/questions/8111018/do-something-on-selecting-a-radio-button">here</a> .Edit part of the question contains the issue.</p>

<p>Scripting language is php. Or should I use any other language to achieve the goal?</p>
