jquery-deferred
jQuery Deferred's, $.when() and the fail() callback arguments
I\'m getting an unexpected result when using $.when() when one of the deferred operations does not succeed.[详细]
2023-02-21 04:07 分类:问答How does one use $.deferred properly with non-observable functions?
Let\'s say for example that I have two functions with random code inside and also that based on the user\'s system (slow, medium, or fast) there is no way to tell how long the two functions will take[详细]
2023-02-18 21:42 分类:问答AJAX JQuery Deferred callbacks only get called once
I am registering callbacks on a few jquery ajax objects. So I have: function main_getLogin( options ){[详细]
2023-02-18 08:46 分类:问答Jquery .when() and .then() not working?
I had try something with the below: $.when($(smtg).fadeOut(300)).then($(smtg).fadeIn(300)); What\'s wrong with it while the document at http://api.jquery.com/jQuery.whe开发者_JAVA技巧n/[详细]
2023-02-17 06:43 分类:问答jQuery.when understanding
I am trying to use the jQuery.when to fire two ajax requests and then call some function after the two requests have completed. Here\'s my code:[详细]
2023-02-16 04:03 分类:问答jquery 1.5.1 Deferred Object .when() .then() Confusion
I have two webmethods returning dates from a .net 3.5 page. Each return a start and end date string, respectively.[详细]
2023-02-14 10:37 分类:问答jQuery Deferred not calling the resolve/done callbacks in order
Code example: http://jsfiddle.net/MhEPw/1/ I have two jQuery Deferred objects. I want to have more than one \'async\' request happening - and after they all run I want the callbacks (the .done funct[详细]
2023-02-14 08:50 分类:问答jquery 1.5 Ajax Requests, via Deferred Object, to PageMethod Not Executing as Expected
I have some code where I wish to call a page method for each row in a datatable. Each row contains user information and the page method looks for additional data regarding that user, in a certain time[详细]
2023-02-14 07:32 分类:问答jQuery.Deferred "then" callback giving unexpected behavior
It seems as if the then() callback is not firing when a Deferred object is rejected.It was my understanding then() should be executed whether the Deferred resolves or rejects.[详细]
2023-02-12 20:06 分类:问答jQuery 'deferred object/promises' Performance?
Does any one know of any significant performance penalties involved with using the new jQuery \'promises/deferred object\' pattern over the old jQ开发者_运维知识库uery style ajax methods that had stan[详细]
2023-02-12 11:18 分类:问答