小白羊

导航

2017年8月28日 #

Using FileUpload

摘要: Using FileUpload FileUpload can be used in a number of different ways, depending upon the requirements of your application. In the simplest case, you 阅读全文

posted @ 2017-08-28 15:12 小白羊 阅读(217) 评论(0) 推荐(0)

项目二、自定义文件上传函数(js函数)

摘要: /** * 文件上传工具 v1.0 * @param file 要上传的文件 * @param url 要上传到的路径 * @param div 要显示的区域 */ function uploader(file, url, div) { var xhr = new XMLHttpRequest(); //创建xhr对象 var _data = new Form... 阅读全文

posted @ 2017-08-28 00:08 小白羊 阅读(1084) 评论(0) 推荐(0)