
js and php文件上传
zph同学
这个作者很懒,什么都没留下…
展开
-
html5解决大文件断点续传
js代码 xhr2 将图片拖拽到此 0% ajax上传--> 上传 //拖拽上传开始 //-1.禁止浏览器打开文件行为 document.addEventListener("drop",function(e){ //拖离 e.preventDefault(); }) doc原创 2016-01-25 10:29:46 · 9190 阅读 · 1 评论 -
input标签file类型,选择多个文件进行上传
html页面 xhr2 多文件上传 function xhr2(){ var xhr = new XMLHttpRequest();//第一步 //定义表单变量 var file = document.getElementById('file').files; //console.log(file.l原创 2016-04-19 14:33:24 · 18137 阅读 · 1 评论