Jquery: How to dynamically SHOW image using the “value” of <input type=“file”> Field

后端 未结 2 1985
天命终不由人
天命终不由人 2021-01-04 10:58

I was wondering whether there is a way to dynamically display an image that a user just uploaded to the input type=\"file\" field.

For example, so far I have the fol

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 11:21

    Use this code. It will work:

    
    
    
    
    
    
    

提交回复
热议问题