Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
xmlhttprequest
xmlhttprequest
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 2
Qualità:
traditionally, this is done with the javascript object xmlhttprequest.
Обычно это делается с помощью javascript-объекта xmlhttprequest.
Ultimo aggiornamento 2016-03-03
Frequenza di utilizzo: 1
Qualità:
in many ways the apis resemble xmlhttprequest's event model.
api во многом напоминают модель событий xmlhttprequest.
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
a javascript program might request this url via xmlhttprequest, for example.
Программа на javascript могла бы запросить этот url, к примеру, посредством xmlhttprequest.
Ultimo aggiornamento 2016-03-03
Frequenza di utilizzo: 1
Qualità:
it also reveals the basic concepts of ajax, including the object xmlhttprequest.
Он также раскрывает основные концепции ajax, включая объект xmlhttprequest.
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
xmlhttprequest has limited us to sending domstring or document (xml) data for some time.
До недавнего времени в xmlhttprequest можно было отправлять только данные domstring или document (xml).
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
we have already learned how to upload files using the file api, drag & drop and xmlhttprequest.
Мы с вами уже научились загружать файлы с помощью file api, drag & drop и xmlhttprequest.
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
this tutorial highlights some of the new features in xmlhttprequest, especially those that can be used for working with files.
В этом руководстве описываются некоторые из новых возможностей xmlhttprequest и в особенности те из них, которые необходимы для работы с файлами.
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
, xmlhttprequest version 2 has been merged into the main xmlhttprequest specification, and there is no longer a version 1 and a version 2.
В дальнейшем поддержка xmlhttprequest появилась в браузерах safari 1.2, opera 8.01 и в других.
Ultimo aggiornamento 2016-03-03
Frequenza di utilizzo: 1
Qualità:
after initialization of the root namespace any dojo package can be loaded (via xmlhttprequest or other similar transport) by using utility functions supplied in the bootstrap.
После инициализации корневого пространства имён, любой пакет dojo может быть загружен (с помощью xmlhttprequest или сходного способа) с помощью специальных функций загрузочного скрипта.
Ultimo aggiornamento 2016-03-03
Frequenza di utilizzo: 1
Qualità:
developers mimic 'concurrency' by using techniques like settimeout(), setinterval(), xmlhttprequest, and event handlers.
Разработчики имитируют параллельное выполнение кода с помощью таких средств, как методы settimeout() и setinterval(), технология xmlhttprequest, а также обработчики событий.
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
").append(c.replace(bj,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checkedbk.test(this.nodename)be.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isarray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bb,"\r\n")}}):{name:b.name,value:c.replace(bb,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isfunction(d)&&(g=ge,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,datatype:g})}}),f.extend({getscript:function(a,c){return f.get(a,b,c,"script")},getjson:function(a,b,c){return f.get(a,b,c,"json")},ajaxsetup:function(a,b){b?bx(a,f.ajaxsettings):(b=a,a=f.ajaxsettings),bx(a,b);return a},ajaxsettings:{url:br,islocal:bf.test(bs[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bt},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":a.string,"text html":!0,"text json":f.parsejson,"text xml":f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:bv(bp),ajaxtransport:bv(bq),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&cleartimeout(q),p=b,n=m"",v.readystate=a>0?4:0;var o,r,u,w=c,x=l?bz(d,v,l):b,y,z;if(a>=200&&a0&&(q=settimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isfunction(b)?b():b,d[d.length]=encodeuricomponent(a)+"="+encodeuricomponent(b)};c===b&&(c=f.ajaxsettings.traditional);if(f.isarray(a)a.jquery&&!f.isplainobject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)by(g,a[g],c,e);return d.join("&").replace(bz,"+")}}),f.extend({active:0,lastmodified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&$)\?\?/i;f.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return f.expando+"_"+b_++}}),f.ajaxprefilter("json jsonp",function(b,c,d){var e=b.contenttype==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.datatypes[0]==="jsonp"b.jsonp!==!1&&(ca.test(b.url)e&&ca.test(b.data))){var g,h=b.jsonpcallback=f.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isfunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){gf.error(h+" was not called");return g[0]},b.datatypes[0]="json";return"script"}}),f.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascriptecmascript/},converters:{"text script":function(a){f.globaleval(a);return a}}}),f.ajaxprefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossdomain&&(a.type="get",a.global=!1)}),f.ajaxtransport("script",function(a){if(a.crossdomain){var d,e=c.headc.getelementsbytagname("head")[0]c.documentelement;return{send:function(f,g){d=c.createelement("script"),d.async="async",a.scriptcharset&&(d.charset=a.scriptcharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c!d.readystate/loadedcomplete/.test(d.readystate))d.onload=d.onreadystatechange=null,e&&d.parentnode&&e.removechild(d),d=b,cg(200,"success")},e.insertbefore(d,e.firstchild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.activexobject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxsettings.xhr=a.activexobject?function(){return!this.islocal&&ce()cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withcredentials"in a})}(f.ajaxsettings.xhr()),f.support.ajax&&f.ajaxtransport(function(c){if(!c.crossdomainf.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrfields)for(j in c.xhrfields)h[j]=c.xhrfields[j];c.mimetype&&h.overridemimetype&&h.overridemimetype(c.mimetype),!c.crossdomain&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{for(j in e)h.setrequestheader(j,e[j])}catch(k){}h.send(c.hascontent&&c.datanull),d=function(a,e){var j,k,l,m,n;try{if(d&&(eh.readystate===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readystate!==4&&h.abort();else{j=h.status,l=h.getallresponseheaders(),m={},n=h.responsexml,n&&n.documentelement&&(m.xml=n),m.text=h.responsetext;try{k=h.statustext}catch(o){k=""}!j&&c.islocal&&!c.crossdomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){eg(-1,p)}m&&g(j,k,m,l)},!c.asynch.readystate===4?d():(i=++cc,cb&&(cd(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggleshowhide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]],cn;f.fn.extend({show:function(a,b,c){var d,e;if(aa===0)return this.animate(cq("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedproperties[this.prop]=!0;for(g in e.animatedproperties)e.animatedproperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hidee.show)for(var i in e.animatedproperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==infinity?this.now=b:(h=b-this.starttime,this.state=h/e.duration,this.pos=f.easing[e.animatedproperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
").append(c.replace(bj,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checkedbk.test(this.nodename)be.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isarray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bb,"\r\n")}}):{name:b.name,value:c.replace(bb,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isfunction(d)&&(g=ge,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,datatype:g})}}),f.extend({getscript:function(a,c){return f.get(a,b,c,"script")},getjson:function(a,b,c){return f.get(a,b,c,"json")},ajaxsetup:function(a,b){b?bx(a,f.ajaxsettings):(b=a,a=f.ajaxsettings),bx(a,b);return a},ajaxsettings:{url:br,islocal:bf.test(bs[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bt},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":a.string,"text html":!0,"text json":f.parsejson,"text xml":f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:bv(bp),ajaxtransport:bv(bq),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&cleartimeout(q),p=b,n=m"",v.readystate=a>0?4:0;var o,r,u,w=c,x=l?bz(d,v,l):b,y,z;if(a>=200&&a0&&(q=settimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isfunction(b)?b():b,d[d.length]=encodeuricomponent(a)+"="+encodeuricomponent(b)};c===b&&(c=f.ajaxsettings.traditional);if(f.isarray(a)a.jquery&&!f.isplainobject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)by(g,a[g],c,e);return d.join("&").replace(bz,"+")}}),f.extend({active:0,lastmodified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&$)\?\?/i;f.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return f.expando+"_"+b_++}}),f.ajaxprefilter("json jsonp",function(b,c,d){var e=b.contenttype==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.datatypes[0]==="jsonp"b.jsonp!==!1&&(ca.test(b.url)e&&ca.test(b.data))){var g,h=b.jsonpcallback=f.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isfunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){gf.error(h+" was not called");return g[0]},b.datatypes[0]="json";return"script"}}),f.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascriptecmascript/},converters:{"text script":function(a){f.globaleval(a);return a}}}),f.ajaxprefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossdomain&&(a.type="get",a.global=!1)}),f.ajaxtransport("script",function(a){if(a.crossdomain){var d,e=c.headc.getelementsbytagname("head")[0]c.documentelement;return{send:function(f,g){d=c.createelement("script"),d.async="async",a.scriptcharset&&(d.charset=a.scriptcharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c!d.readystate/loadedcomplete/.test(d.readystate))d.onload=d.onreadystatechange=null,e&&d.parentnode&&e.removechild(d),d=b,cg(200,"success")},e.insertbefore(d,e.firstchild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.activexobject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxsettings.xhr=a.activexobject?function(){return!this.islocal&&ce()cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withcredentials"in a})}(f.ajaxsettings.xhr()),f.support.ajax&&f.ajaxtransport(function(c){if(!c.crossdomainf.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrfields)for(j in c.xhrfields)h[j]=c.xhrfields[j];c.mimetype&&h.overridemimetype&&h.overridemimetype(c.mimetype),!c.crossdomain&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{for(j in e)h.setrequestheader(j,e[j])}catch(k){}h.send(c.hascontent&&c.datanull),d=function(a,e){var j,k,l,m,n;try{if(d&&(eh.readystate===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readystate!==4&&h.abort();else{j=h.status,l=h.getallresponseheaders(),m={},n=h.responsexml,n&&n.documentelement&&(m.xml=n),m.text=h.responsetext;try{k=h.statustext}catch(o){k=""}!j&&c.islocal&&!c.crossdomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){eg(-1,p)}m&&g(j,k,m,l)},!c.asynch.readystate===4?d():(i=++cc,cb&&(cd(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggleshowhide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]],cn;f.fn.extend({show:function(a,b,c){var d,e;if(aa===0)return this.animate(cq("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedproperties[this.prop]=!0;for(g in e.animatedproperties)e.animatedproperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hidee.show)for(var i in e.animatedproperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==infinity?this.now=b:(h=b-this.starttime,this.state=h/e.duration,this.pos=f.easing[e.animatedproperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
Ultimo aggiornamento 2018-02-21
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta