473,327 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

how to disable refresh button?

AVL
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?
May 30 '06 #1
2 5246
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 hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"AVL" <AV*@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
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?

May 30 '06 #2
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
"AVL" <AV*@discussions.microsoft.comwrote in message
news:53**********************************@microsof t.com...
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?

Sep 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: JN | last post by:
I would like to disable all links and buttons on HTML page to prevent multiple clicking while page is not yet sent to server. I tried to disable whole document, but this won't prevent links to be...
6
by: Matt | last post by:
By using javascript, is it possible to disable the REFRESH functionality (F5 or refresh icon) in a browser? Please advise. Thanks!!
3
by: Jeff | last post by:
I have a payment form with a submit button. A large percentage of users double-click the submit button thus submitting their payment information twice. I would like to use javascript to disable...
13
by: steven | last post by:
A monthcalendar checks every 2 minutes if theres a new day. Does anyone knows how to disable this ? The problem is that, everytime a monthcalendar checks this, the form where the monhcalendar is...
8
by: GS | last post by:
Hi, This is probably known solution but I have not found it in minimum amount of code. I'd like to disable button on client-side after clicking on it. Just disabling it in javascript do not...
1
by: prabhukrs | last post by:
hi friends, I'm working with Asp.Net application.I need to disable the refresh buton in the IE's toolbar using code, so that the refresh button could be diabled at runtime when it goes live. ...
3
by: koolprasad2002 | last post by:
can any one tell me to disable refresh button of IE in javascript thankx in adv.
2
by: dsudhakara | last post by:
Hi, I want to disable the refresh button in toolbar and F5 key also in Mozilla Firefox . Please help me immediatly
5
by: zlf | last post by:
How to disable button once it is clicked on the page? The codes in click event of submit button is time-costing(about 4-5 secs), in this period, user maybe do a re-submit, that is not expected. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.