Shared Tutorials

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Basic Detail

Jquery Promise Object For Asynchronous Method Handling

Jquery promise method provides better way for handling asynchronous method


Asynchronous method generally has some callback like success, error or complete.There are many situation while coding in java script where we need to call a block of code after an asynchronous method finished execution.This is where we see the problem as:-
--Browser does not wait for asynchronous method to complete and start executing the next line.
--If We will write the block of code after success method then it create a messy code base to manage.

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 49.38%  119
 Two starsTwo star  Vote LeftVote MiddleVote Right 7.88%  19
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 8.71%  21
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 8.3%  20
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 25.73%  62

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.