<img id="Preview" style="width: 150px; height: 200px;"/>
<script>
$("#Preview").attr('src', "pic1.png");
</script>
This shows an image sometimes, but after I refresh my page this image will disappear. I put this line of code into the script:
$("#Preview").attr('src', "pic1.png?timestamp="+new Date().getTime());
But it doesn't help! Can you please help me to solve this?