locked
EdgeHTML 14 - Ajax call responses not interpreted correctly RRS feed

  • Question

  • Hi,

    I am using ajax calls in a web application. The code works fine in all browsers apart from EdgeHTML 14.

    Are there any new security features in the new Edge browser which will prevent responses using ajax/jquery not being interpreted correctly?

    Even though a result of success is returned (which i can see the server responding with), the code drops into the 'error' logic.

    Using any other browser, the servers response of 'success' is picked up correctly and the code continues to 'submitOrder'

    Thanks, Mike

    An example of the code looks like this - 

    var makeCallToServer = function(){
    var personalReferenceValue = personalReference.val();
       
    var data = {
    order: prderValue
    };
    $.ajax({
    type : "POST",
    cache: false,
    url : '/jsp/makeCallToServer.jsp?request=true',
    data : data,
    async : true,
    success : submitOrder,
    error : function(XMLHttpRequest, textStatus, errorThrown) {
        if (textStatus === "abort") return;
        AjaxUtils.loadErrorRedirect(textStatus, errorThrown);
            }
    });
    };


    • Edited by mjs19780 Friday, October 14, 2016 7:36 AM
    Friday, October 14, 2016 7:36 AM

All replies

  • Hi,

    As this issue is mainly related to code, I suggest discussing it in our MSDN forum. They are the best resource to troubleshoot this issue.

    https://social.msdn.microsoft.com/Forums/en-US/home

    Best Regards,

    Tao


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, October 17, 2016 9:19 AM