Monday, September 9, 2013

How to show prompt message when refreshing the page

How to show prompt message when refreshing the page

Good day! I work on Javascript and I have a simple page.I need to prompt
message appear when user want to refresh the page(F5, so on). Is there any
method to do so? I have tried to use method="post", but because I dont
submit anything in my page it doesnt work at all. Most of the time users
want to disable prompt message, but what to do if I want to appear it?
Alert message?Any ideas?

No comments:

Post a Comment