When the gallery photo uploads, the thumbnail image gets displayed in model(using jquery and php with ajax) after updating the old image to newer one. But next time on opening the model it shows the older one, after refresh the page only it shows the newer image. Please any one give me the solution for my problem? Thanks in advance.
here is my code -
$.ajax({ cache:false, })
$.ajax({
url: 'model_appmaster.php',
type: 'POST',
async: true,
data: {},
dataType: 'html',
cache:false,
})
cache is not clearing from the below code -
$.ajax({
cache:false,
})