js读取上传的文件内容

this.upload = function() { var objFile = document.getElementById("upfile"); var files = $('#upfile').prop('files');//获取到文件列表 if(files.length == 0){ alert('请选择文件'); }else{
相关文章
相关标签/搜索