Jump to content

Ajax Load Page, How to get it to work in IE


plznty

Recommended Posts

<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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.