Sunday, 15 June 2014

jquery - Can't post ajax to IE10 -



jquery - Can't post ajax to IE10 -

this question has reply here:

why ie 10 refusing send post info via jquery $.ajax 8 answers

i cannot ajax work in ie10. no matter how many times/ways/frameworks try, nil works. returns empty string.

<html> <head> <script type="text/javascript" src="jquery-1-9-1.js"></script> </head> <body> <br/> <a onclick="doit()">go</a> <script> function doit() { var mydata = { "key": "value" }; $.ajax({ url: "myhandlepage.php", data: mydata, datatype: 'json', type: 'post', contenttype: 'application/x-www-form-urlencoded', success: function (data) { alert("ok = " + data.eric); }, error: function (data, status) { alert("failed:" + status); } }); } </script> </body> </html>

possible answer: http://bugs.jquery.com/ticket/12790#comment:28

it appears issue ie10 , post requests. there may not prepare @ all. means if people start using ie10, there lot of broken ajax sites!

this appears widespread problem post requests on ie10, 1 not control, there no need post farther feedback in ticket. here microsoft ticket problem; note need create login view:

http://connect.microsoft.com/ie/feedback/details/771016

jquery ajax internet-explorer internet-explorer-10

No comments:

Post a Comment