Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
AJAX Data not refreshing in IE but works fine in Firefox...
Old 06-22-2006, 02:18 PM AJAX Data not refreshing in IE but works fine in Firefox...
Junior Talker

Posts: 2
Trades: 0
Here is a quick synopsis of what I have and what the problem is.

I have an ASP page with a list of 'users'. When you click on a user it redirects to a page that has details about the user. There are several buttons that can be clicked which use AJAX to populate a div tag.

That part works fine in IE and Firefox.

One of the options has a list of options assigned to the user and a list with options available for assignment. When the user checks the it, it uses AJAX to add or remove the option.

This is where the problem arises. In Firefox it works as intended. But when I use IE, the options are saved in the DB but not refreshed in the window. Even if I go to another user and come back, the options have not changed. If I close the browser and return to that user, then the changes are reflected. My first thought was that it was machine specific, but that is not that Case as I tried it on a few other machines.

Anyone have any suggestions? Please I need to have this all working by COB on Friday.
redscorpion is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-22-2006, 03:28 PM Re: AJAX Data not refreshing in IE but works fine in Firefox...
Junior Talker

Posts: 2
Trades: 0
Well, I found the answer and it is because of a 'bug' in IE with dealing with caching 'GET' requests. Here is how you can get around it.

xmlHttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT" );
redscorpion is offline
Reply With Quote
View Public Profile
 
Old 07-06-2006, 10:27 AM Re: AJAX Data not refreshing in IE but works fine in Firefox...
Novice Talker

Posts: 6
Name: Dirk-Jan
Trades: 0
thanks for letting us know how you solved it
__________________

Please login or register to view this content. Registration is FREE
- Asynchronous Javascript and XML Discussion Board
deejay111 is offline
Reply With Quote
View Public Profile Visit deejay111's homepage!
 
Reply     « Reply to AJAX Data not refreshing in IE but works fine in Firefox...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11792 seconds with 12 queries