I'm not having this issue with Mozilla Firefox, but it seems that the results of the code below are being cached in EI 8. When the browser makes another asynchronous call to the server with different results from the database, those results are not being displaying on the wepage. How do I fix this problem. As I mentioned above the code works fine in Mozilla Firefox. The page displays data in EI 8 with no errors five seconds after the page has loaded, but as the information in the database changes, I'm not seeing those changes reflected on the page in 5 second intervals. I'm assuming this is a caching issue, if so how do I fix it.

<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>

<script>
$(document).ready(
function()
	{
		setInterval ( "reload1()", 5000 );
	}
);

	


function reload2(){
	$.get(
          'vcci.php',
          	function($xml) {
            // Make the XML query-able with jQuery
            $xml = $($xml);
			var $iso2 = $xml.find('data').text();
			//alert($iso2);
			$('#para').text($iso2);
				
          },
          'xml'
        );
}


</script>
</head>

<body>
<p id="para"></p>
</body></html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.