标签:
今天马年除夕,又到了各种拜年送祝福的时候,祝福大家身体健康,万事如意,羊年大吉,红包多多,运气好好!
最后摘录一些刚才看到的html5的知识
this.Vz = "http://upload." + Ak.Sl + ":" + location.port + "/upload";
function zE(a, b) {
var c = new FormData;
c.append("via", "xhr2");
c.append("upload_file", b);
var d;
d = $.ajaxSettings.xhr();
d.withCredentials = i;
var f = $.ajax({url: a.Vz,data: c,processData: l,contentType: l,xhr: function() {
return d
},type: "POST"}).done(function(a) {
a.f().addEventListener("paste", u(this.rw, this));
c.type.indexOf("image") && (zE(b, c.getAsFile()), a.preventDefault())
标签:
原文地址:http://www.cnblogs.com/doit8791/p/4295760.html