jquery - Ajax not working in IE11 error code 0x2f78 -


here ajax setup:

                $.support.cors = true;                 $.ajax({                     beforesend: function ()                     {                      },                     type: "post",                     url: "test.cgx",                     data: hex_str,                            datatype: "xml",                     processdata: false,                     contenttype: "text/xml; charset=utf-8",                     success: function (msg)                     {                      },                     error: function (msg)                     {                      }                 }); 

if data - hexstr smaller 4 chars (for example hex_str = "3a") got following error (after 1 minute of request pending):

xmlhttprequest: network error 0x2f78, not complete operation due error 00002f78.

this happens in ie, ff , chrome can post data size. data send it's not in xml format it's hex data (i need contenttype: "text/xml; charset=utf-8" other reason).

i'm using jquery 1.8.2

i had same problem,just put line in header,i hope work you

 <meta http-equiv="x-ua-compatible" content="ie=emulateie9" > 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -