I am trying to upload image using input type file , it is reflecting first uploaded image after second uploading
<div class="uploadimg">
    <input type="file">
   <img src="img.png">
</div>
$("document").ready(function(e) {
$(".uploadimg > input").click(function(){
    var browse = $(".uploadimg > input").val();
    $(this).change(function(){
        $(".uploadimg > img").attr("src","images/"+browse); 
    });
}); });
