1. #1
    Sencha User
    Join Date
    Jul 2012
    Location
    Hyderbad
    Posts
    40
    Vote Rating
    0
    Manoj Parida is an unknown quantity at this point

      0  

    Default How to calculate ajax request time in certain period before response comes.

    How to calculate ajax request time in certain period before response comes.


    Here is an ajax request to backend


    Code:
        // Ajax request 
    Ext.Ajax.request({
        url    : 'http://localhost:8080/myapp',
        method: 'GET',
        params: {
            paramId:paramId
        },
        success: function(response, opts) {
            var result = Ext.JSON.decode(response.responseText);    
        }, 
        failure: function() {
            console.log('failure);
        }
    });
    for getting response it takes 60 seconds,here i want to show a pop up after 30 seconds of request and also it should be working for every ajax call as in application there are so many request are sent through this ajax call.
    If there is a response which is getting at 15 seconds,in this case no pop up message will shown.

    So how to calculate ajax request time and in certain period of request time,pop up will show otherwise not.

    Any helps appreciated.

    Thanks & Regards
    Manoj Parida

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Location
    Hyderbad
    Posts
    40
    Vote Rating
    0
    Manoj Parida is an unknown quantity at this point

      0  

    Default


    Please help someone to me about this

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar