Jquery Promise Object For Asynchronous Method Handling
Tutorials Shared by the Internet Community
Total Hits - 27257
Total Votes - 203 votes
Vote Up - 72 votes
Vote Down - 131 votes
Domain - www.tutorialsavvy.com
Category - Java Script/Java Script Misc
Submitted By - Sandeep Kumar Patel
Submitted on - 2013-12-31 13:29:52
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. ...