Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

Ajax: Tackle the Refresh Button

One of the problems that an Ajax application faces is the refresh button. Person hits it and all of the Ajax inputs have been wiped clean. Well I thought that I would point you to an article I wrote. It talks about taking the issue of the refresh button away from an Ajax application. You can find the article with a working example here: http://www.pascarello.com/rememberHistory.aspx

Eric Pascarello
Moderator of HTML/JavaScript at www.JavaRanch.com
Co-Author of: Ajax In Action


Hi Eric This is great work and needed in AJAX. Just some feedback : In Safari you can't use the refresh button it doesn't seem to think the page is finished. It is fine on Firefox on the Mac however regards Al
I had this tested with a number of MAC users and they said they were having no major problems with this method.
Eric
I want to appreciate your coding style of your javascript file net.js Its so cute and elegant. You should apply for a job in Google. They will like your creativity.
i am using a div tag that pulls in a php page with data from mySQL...in IE on a PC, the page won't show any changes made to hte mySQL database...i'ev tried to put a refresh script on the php page, so that you can clikc a link to refresh the page within hte DIV tag, however it still won't work on a IE PC... any thoughts?
The request is cached. Add a request header. xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT"); Eric
I had that refresh problem in IE, but not in FF. I changed my Ajax transfer request to post method instead of get
hf f hhfd


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 7 + 6 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/pascarello/addTrackBack.action?entry=1130447334299