0

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>

Edited by Chad Gary: typo

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by parry_kulk
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.