plznty Posted November 12, 2010 Share Posted November 12, 2010 <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function() { $("#rotate").load("random.php").fadeIn(500); That works fine in firefox etc + every other browser, but it seems that IE doesn't request a new set out data for the random.php It seems to gather it from cache, how can I fix this? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/218482-ajax-load-page-how-to-get-it-to-work-in-ie/ Share on other sites More sharing options...
radar Posted November 14, 2010 Share Posted November 14, 2010 The only thing I can see (without actually opening up DW for my syntax highlighting), is that your script tag should have at least the minmal language="javascript" inside of it. Of course since I'm seeing a missing ) and } i'm guessing that this code example isnt the full code of what using, which makes it a little hard to diagnose an issue. Does IE show you any javascript errors in the status bar? if so what do they say, this could be a fairly easy way to diagnose it. Quote Link to comment https://forums.phpfreaks.com/topic/218482-ajax-load-page-how-to-get-it-to-work-in-ie/#findComment-1133985 Share on other sites More sharing options...
plznty Posted November 16, 2010 Author Share Posted November 16, 2010 IE does work with it, however it caches the load data. How can you make it send multi requests? rather than keep gathering the cached version Quote Link to comment https://forums.phpfreaks.com/topic/218482-ajax-load-page-how-to-get-it-to-work-in-ie/#findComment-1134913 Share on other sites More sharing options...
seanlim Posted November 19, 2010 Share Posted November 19, 2010 have you tried "no-cache" headers for random.php? Quote Link to comment https://forums.phpfreaks.com/topic/218482-ajax-load-page-how-to-get-it-to-work-in-ie/#findComment-1136712 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.