I have this code in index.html
$(document).ready(function() {
$('#generate').click(function() {
//$("#results").empty();
$("#results").html("");
$("#results").load("generate.php");
});
});
Also, I have this code in generate.php :
<?php
$img1 = "<img src='logo_0.png' width='350px' height='350x' /><br />";
$img2 = "<img src='logo_1.png' width='350px' height='350x' /><br />";
echo $img1.$img2;
?>
If I replace these images with different images (manually by copy & paste but keeping their names), I still get same images,
I assumed that happens because the dom objects are already created, so I tried
$("#results").empty();
and
$("#results").html("");
but images don't change,
Thank you