The Windows 10 April 2018 update has arrived! Get the new Dell XPS 15, starting at $999.99
  1. Praveen Deshmukh's Avatar
    My ajax call is working fine in all other mobile devices except Microsoft Lumia 950.
    My ajax response always goes in error.
    ready state : 0, status : 0, statusText: error, responseText:, textstatus:error,error:

    $.ajax({
    type: 'POST',
    url: '/request.php/' + page + '?nav=' + nav + '&rowIndex=' + rowIndex + '&time='+$.now(),
    data: $('form[name=quoteForm]').serialize(),
    dataType: 'json',
    cache: false,
    beforeSend: function () {
    formHelper.loader('show', page);
    startTime = (new Date()).getTime();
    },
    success: function (obj)
    {
    $('#col1').html(obj.content).

    },
    error: function (r, s, e) {
    alert('In ajax error');
    var string = "readyState: "+r.readyState+", status: "+r.status+", statusText: "+r.statusText+", responseText: "+r.responseText+", textStatus: "+s+", error: "+e;
    alert(string);
    }
    });

    This only happens when api response takes long time. If i sent hard coded response from php file, this works fine. In this ajax ajax error should be timeout but i am getting "error".
    Please help me to fix this.
    Last edited by Praveen Deshmukh; 06-13-2016 at 02:49 AM. Reason: more specific reason added.
    06-10-2016 07:02 AM

Similar Threads

  1. how can I install insider preview on Lumia 525?
    By avengerxp in forum Windows 10 Mobile Insider Preview
    Replies: 8
    Last Post: 02-21-2017, 10:47 AM
  2. Blu Win HD LTE $60 on Amazon US
    By coolj40041 in forum Expired & Archived Deals
    Replies: 6
    Last Post: 07-16-2016, 01:39 PM
  3. Why isn't my Lumia 535 powering on?
    By Windows Central Question in forum Microsoft Lumia 535
    Replies: 3
    Last Post: 06-13-2016, 10:11 PM
  4. Hands on with Ultimate Source's range of Killer Instinct figures
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 06-10-2016, 06:11 AM
  5. You can now reply to comments on Facebook with a video
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 06-10-2016, 02:11 AM
LINK TO POST COPIED TO CLIPBOARD