posted 16 years ago
Hi,
Is there a way to identify the browser refresh button click and f5 press using JavaScript. My requirement is like, i am having a page to which user comes after he submits some data and if in this page the user clicks refresh button or presse's f5 then the data will be sent again. To avoid this, i want to identify the refresh click or f5 press using JavaScript and want to change the url. The solution should work in ie, Mozilla as well as safari.
Thanks
Kranthi