Jquery "
promise()" method provides better way for handling asynchronous method. In JavaScript there are two types of methods,
synchronous and
asynchronous method.
PROBLEM DOMAIN:
"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 compl...
Published on November 10, 2013 10:03