My partner has created a script but he is offline at the moment so I am attempting to fix this myself.
Here is the code we currently have:
function progressStatus(Progress) {
// Get our progress status
$.get('http://www.site.com/progress/'+Progress, { }, function (response) {
// Eval our response
eval(response);
});
}
and then in our page, we have:
// Start our status checking
var Progress = $('#Progress').val();
ProgressStatus = setInterval('progressStatus("'+Progress+'")', 1000);
It works fine in Firefox, Chrome, all I can assume is it’s looping and getting the new status in Firefox, Chrome but in IE, it only pings the progress once and then does nothing.
What is wrong with this? I’m not sure if any more code is needed, if it is I’ll edit my question with more code.
Thank you.
Does not work means about nothing. IN the future please give more details on what not working means. I am going to assume that it means it is never updating the new status on the get request and keeps grabbing the old one.
Need to stop caching