¡@

Home 

2014/10/16 ¤W¤È 12:10:37

jquery Programming Glossary: xdr.send

Jquery Ajax, not working in Internet explorer

http://stackoverflow.com/questions/11672727/jquery-ajax-not-working-in-internet-explorer

The request timed out. xdr.onerror function completeCallback 404 error The requested resource could not be found. xdr.send abort function if xdr xdr.abort I've created a simple sample page to demonstrate the first technique here http services.whygo.net.. function url callback var xdr new XDomainRequest xdr.open 'get' url xdr.onload function callback xdr.responseText xdr.send .get else use jQuery's method Use... cors url function msg alert msg pretty well same as .get Copy and paste this of course..

Jquery $.ajax fails in IE on cross domain calls

http://stackoverflow.com/questions/3362474/jquery-ajax-fails-in-ie-on-cross-domain-calls

Access denied to jQuery script on IE

http://stackoverflow.com/questions/5087549/access-denied-to-jquery-script-on-ie

so if you need it var dom new ActiveXObject Microsoft.XMLDOM dom.async false dom.loadXML xdr.responseText xdr.send else your ajax request here .ajax url thisURL dataType json data cmd 'getMessage' uurl urlVar t Math.random success..

Programmatic way to see if client browser supports PUT / DELETE methods

http://stackoverflow.com/questions/6627998/programmatic-way-to-see-if-client-browser-supports-put-delete-methods

' ' .param query else xdr.open action url xdr.onload function var data .parseJSON this.responseText show_data data xdr.send else if query null .ajax url url data query type action success function data console.log data error function jqXHR..