settings.beforeSend = function (xhr, s) {
                s.data = formdata;
                if (s.__beforeSend) return s.__beforeSend.call(this, xhr, s);
            }