Create live preview of image (before upload it) using JQuery

后端 未结 3 742
Happy的楠姐
Happy的楠姐 2020-12-18 06:03

I want to create a preview for image before upload it on the server, using JQuery.

My code, js code:

$(function(){
    Test = {
        UpdatePreview         


        
3条回答
  •  执笔经年
    2020-12-18 06:30

    give an id for img tag

    test
    

    for input tag create an event oninput or onchange

    
    
    
    

提交回复
热议问题