i have a div on a php page that automatically load a php page every 10 sec with this code :
$(document).ready(function () {
var auto_refresh = setInterval(function () {
$.ajax({
type: 'GET',
url: 're.php',
data: {
get_param: 'value'
},
success: function (data) {
var names = data
if (yn != 0) $('#content').html(data);
}
});
}, 10000);
});
My problem is that in the page loaded i have pictures .So every 10 seconds some of them are flashing (text is not flashing). Note that some pictures are changed in these 10 seconds . I have noticed that only these pictures are flashing when the div is updated ... what is wrong ?