Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 problem: flood control / submit button disabled
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 03 February 2007 :  06:01:24  Show Profile  Visit MarkJH's Homepage  Reply with Quote
I know that Opera has major issues with the back button and caching.<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

chumbawumba
Junior Member

United Kingdom
304 Posts

Posted - 03 February 2007 :  07:31:28  Show Profile  Reply with Quote
This could be a solution, although i don't fully understand what it is on about:
http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching

if the following function is included it will fire even if the page is called from cache?:
function onPageShow()<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 03 February 2007 :  08:35:35  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
Originally posted by MarkJH

I know that Opera has major issues with the back button and caching.


I tested this issue in Opera and it works the same as all other browsers, it is only FF that has the Javasccript caching problem<
Go to Top of Page

chumbawumba
Junior Member

United Kingdom
304 Posts

Posted - 03 February 2007 :  19:14:43  Show Profile  Reply with Quote
i have tested the mozilla code:

If you put onpageshow="if (event.persisted) onPageShow(); in the <body> tag and put this function in the page header:

function onPageShow() {

document.form1.ButtonNameHere.disabled = false;
}

The button is (re)enabled when you press the back button in FF. However the form you previously completed is lost. I guess it is better to start again with a blank form than not to be able to press "submit" at all.
When using FF you lose both ways!
<
Go to Top of Page

chumbawumba
Junior Member

United Kingdom
304 Posts

Posted - 05 May 2008 :  02:12:24  Show Profile  Reply with Quote
quote:
Originally posted by AnonJr

::sigh:: Finally got a chance to try it with FF at home and found the same thing. If you refresh the page everything works fine. I didn't lose the text I had attempted to post when I refreshed, but its probably a good idea to copy it just in case...




reviving an old topic here... but for the interest of the community, in FF3b5 pressing refresh no longer even enables the submit button.


<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 20 May 2008 :  13:00:06  Show Profile  Reply with Quote
Have you tried holding down Ctrl when you refresh? A simple F5 doesn't always do the trick, but Ctrl-F5 is supposed to clear cache while refreshing.<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07