how to disable refresh button?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to disable teh refresh button on my pop window. Whenever I right
click, my pop up window, the 'Refresh' button should be disbaled....

Can anyone help me on this....

any javascript functions to be included?
 
You may be able to disable the context menu but you cannot prevent a user
from refreshing a page... they can still press F5.
Therefore you may need to put in some custom code in some cases to detect a
refresh so you don't duplicate sensitive requests.
 
I know this is old ... but maybe it will help someone..

You could just not display the menu when the user right clicks the window.

In the body of the page use oncontextmenu="return false;"


In the body of the page
 
Back
Top