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 |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 - Webforumz Founder I am currently NOT available for SEO consultancy work My Sites: Student Midwife Forum
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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.
__________________
Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed | Learning PHP? Lessons
Last Blog Entry: Hilarious Rapper (Jul 29th, 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 19:24 |
| Random .swf on refresh | jtyoungs | JavaScript Forum | 2 | Sep 19th, 2007 13:48 |
| Error on Browser refresh | HallmanBilly | Flash & Multimedia Forum | 0 | Sep 9th, 2007 20:48 |
| Code for button to refresh page after inserting data in sql db | wacara | JavaScript Forum | 0 | Apr 27th, 2007 03:45 |
| Force refresh of browser | Lchad | Web Page Design | 15 | Feb 6th, 2007 19:49 |