I would like to disable back and forward button + Refresh button. Please help in doing this. I want this because i am displaying data from mysql database and on back and forward button complete logic get failed.
I need some script to force the browser to reload/refresh when a page is reached from the back button.
EG You're on page A -> You click a link onto page B -> You Press Browser back to go onto Page A, it has old content that requires a reload.
Now, my page is currently php so I won't bother with my code here as I am looking for any solution (I have also posted in php forum).
Any JS solution that will trigger a reload on browser back is appreciated. I have tried a few ideas, most work in Chrome, IE always works, Firefox 4 and Opera 11 wont reload, simply fetching from cache I believe.
I have a large form that uses jquery's .change to rewrite html select forms, make some calculations, etc. It works great if I don't reload the page via a refresh or a back. If I click back or refresh it doesn't change some of my form's selections, but all of the jquery generated stuff doesn't recalculate. Is there a way I can trigger a re-evaluation? I tried
I want to create a menu like the left (as we see that) menu of getitnow.gr.Do you know any script for this?I use prototype framework,is there any script related with prototype? I mean a script that make the menu to stay even we use the scrollbar of the brownser.
I have a message system that I want to prevent double posting. So when a user sends a message i would like to disable the button. But its done using AJAX and will load without much time. But enough to cause double clicking. So now the button needs to be enabled once Text is put in the Form Field.
I want to show popup when client close window and goes to another domain. I am trying to use onunload event but it also gives popup when i refresh the site and goes to any link on my site only. Is there is any way to get that whether it is a refresh event
Is it possible to disable the browser from refreshing when settings document.location.href
for example here's what i would like to do
i don't care about clicking the refresh button or F5 right now. just not having the browser refresh when i change the document.location.
Now the problem is that if the user clicks on back button of the browser and after on forward, the timer gets reinitialized with the start time, and in this way he can cheat. Can you please tell me how can i disable all navigation on my page?
1. close of browser tab 2. close of browser window 3. click of any internal page link(i.e anchors and form buttons)