trigger file upload dialog using javascript/jquery

后端 未结 5 1835
梦毁少年i
梦毁少年i 2020-12-01 07:39

instead of using , is it possible to use and then script it using javascript or jquery such

5条回答
  •  情话喂你
    2020-12-01 08:15

    i think you can bind the input text to a jquery/javascript function that will create an file input with code and the the user can now upload a file

    
    
    function upload(){
        $('[input type="text"]').append('')
    }
    

提交回复
热议问题