This is a discussion on "How to stop the browser refresh on clicking the webbrowser's refresh button ?" within the JavaScript Forum section. This forum, and the thread "How to stop the browser refresh on clicking the webbrowser's refresh button ? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
How to stop the browser refresh on clicking the webbrowser's refresh button ?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How to stop the browser refresh on clicking the webbrowser's refresh button ?
Hi all,
I need to stop the browser refresh on clicking the webbrowser's refresh button in the menu. Is there any means to control this refresh? Thanks in advance ArunKumar |
|
|
|
||||
|
Re: How to stop the browser refresh on clicking the webbrowser's refresh button ?
I would not recommend even trying to change a browser's default behavior in such a way as it's never the best way. The very fact you wish to do this highlights to me that there is most likely some flaw in your application you are trying to work round.
So whether it's flash, frames or whatever I am sure there is a better way... Maybe you could be more specific about your application and why this function is required and perhaps we can show you an alternive method that isnt likely to annoy visitors.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: How to stop the browser refresh on clicking the webbrowser's refresh button ?
Hi Rob,
I have developed a Online Test portal. I have used iframes and javascript to traverse between questions. Application never sends request to server to get the next question. All Questions are loaded in javascript and executed in the client side. In this case , if a end user answers 4 questions , and accidently clicks refresh in the web browser, all the user datas of the previously answered datas are getting refreshed. In one word , his test answers are vanishing. How should I proceed in this case.? How can i restricted the user in clicking the refresh button Thanks Arun kumar |
|
||||
|
Re: How to stop the browser refresh on clicking the webbrowser's refresh button ?
you'll have to store there progress in a cookie so if they refresh it automatically goes to the correct question.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When Refresh go 1 again | gncreditcards | Web Page Design | 2 | Jan 30th, 2008 18:24 |
| Random .swf on refresh | jtyoungs | JavaScript Forum | 2 | Sep 19th, 2007 12:48 |
| Error on Browser refresh | HallmanBilly | Flash & Multimedia Forum | 0 | Sep 9th, 2007 19:48 |
| Code for button to refresh page after inserting data in sql db | wacara | JavaScript Forum | 0 | Apr 27th, 2007 02:45 |
| Force refresh of browser | Lchad | Web Page Design | 15 | Feb 6th, 2007 18:49 |