Image Upload with preview and Delete option - Javascript / Jquery

后端 未结 3 590
执念已碎
执念已碎 2020-12-07 13:15

I have code below that runs perfectly and uploads multiple images.

This is the html and jQuery code:

3条回答
  •  长情又很酷
    2020-12-07 14:14

    Use this for remove files values and file preview

    $(".remove").click(function(){
            $(this).parent(".pip").remove();
            $('#files').val("");
          });`
    

提交回复
热议问题