javascript - Ajax request fails under IE9?
PHP中文网
PHP中文网 2017-05-19 10:18:38
0
1
466

1. Request to execute error directly under ie9

2.$.ajax({

    url: apiServiceBaseUri + 'token',
    type: "post",
    data: data,
    dataType: 'json',
    success: function (response) {
        loginSucc(response);
    },
    error: function(response) {
        var res = JSON.parse(response.responseText);
        $(".hint").show().html(res.error_description);
    }
});
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
伊谢尔伦

Look under the console, has the request been sent? And what are the error messages? Is the url entered correctly?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template