2017年4月10日

基于jquery 的ajax 文件下载

摘要: ajax 文件下载,实际上就是模拟表单提交,代码如下: function download(url, data, method){ //url and data options required if( url && data ){ //data can be string of parameters or array/object data =typeof data =='strin... 阅读全文

posted @ 2017-04-10 20:42 荣锋亮 阅读(10027) 评论(0) 推荐(0) 编辑

导航