i’ll reload page, by F5 button, all generated images preview, disappear.
I want display their again, after page refresh.
i’ try this code but not working
<script type="text/javascript">
$(function () {
'use strict';
// Initialize the jQuery File Upload widget:
$('#XUploadForm-form').fileupload({
url: 'getphotos/'
});
$.ajax({
url: $('#XUploadForm-form').fileupload('option', 'url'),
dataType: 'json',
context: $('#XUploadForm-form')[0]
}).done(function (result) {
$(this).fileupload('option', 'done')
.call(this, null, {result: result});
});
});
</script>
What to do in this case?