<html>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js">
</script>
</head>
<body>
<div id="load_div">111</div>
<input type='file'>
</body>
<script>
input = document.querySelector('input');
input.onchange = function() {
f = window.URL.createObjectURL(this.files[0]);
auto_refresh = setInterval(function() {
// $.ajaxSetup ({cache: false});
$('#load_div').fadeOut('slow').load(f).fadeIn("slow");
}, 500);
}
</script>