Disclaimer: Code optimized for everything except Internet Explorer 7 or 8
What happens if you press F5 to refresh the page???
http://www.gcflearnfree.org/computer...tid=15&aid=111
Just found a nasty feature of IE7.
People trying to create a new if in statstool would get the 'create' button just fine. They would hit it and the page is set to autorefresh - this works fine in Firefox, but with default settings in IE7, it uses a cached version of the page which promptly shows the 'create' button again !!! It never requests information from the server again..... aaaarrghhhh
Changing the default behavior in IE7 to check for newer versions of the page every time you visit corrects this, but this seems to me to be such a stupid default.
I need to research it a bit more to see if there is a server side override. Anyone know ???
In the meantime I've put in a brief documentation within statstool on initial creation..
Bok
Disclaimer: Code optimized for everything except Internet Explorer 7 or 8
What happens if you press F5 to refresh the page???
http://www.gcflearnfree.org/computer...tid=15&aid=111
Bok -
Welcome to the hell of developing a publicly accessible site
You'll need to make your XHR request include a timestamp on the end of the url. This will force all versions of all browsers to fetch new data, as they think the page is different. Just add a querystring parameter to the end, and a javascript (new Date()).getTime(), and it should force the update every time.
Thanks.. I had read something along those lines last night. Not sure how I'll implement it though yet...but I see what needs to be done..
Might get back to you on specifics, figured you would know....
So given this is the code to do the reload of the page, how would I go about altering it ?
method: 'post',
parameters : Form.serialize($('aliases-data'))
Bok ???