¡@

Home 

2014/10/16 ¤W¤È 12:05:34

jquery Programming Glossary: mx

How to chain ajax calls using jquery

http://stackoverflow.com/questions/8612894/how-to-chain-ajax-calls-using-jquery

.ready function var deferred .Deferred var countries US CA MX .each countries function index country deferred.pipe getData.. request for US Making request for CA Making request for MX Successful request for MX Successful request for CA Successful.. for CA Making request for MX Successful request for MX Successful request for CA Successful request for US How can..

How to chain ajax calls using jquery

http://stackoverflow.com/questions/8612894/how-to-chain-ajax-calls-using-jquery

success of step N 1 before executing the next step document .ready function var deferred .Deferred var countries US CA MX .each countries function index country deferred.pipe getData country function getData country var data country country.. to the size of the data for each country as expected Making request for US Making request for CA Making request for MX Successful request for MX Successful request for CA Successful request for US How can I get the deferred object to queue.. for each country as expected Making request for US Making request for CA Making request for MX Successful request for MX Successful request for CA Successful request for US How can I get the deferred object to queue these up for me I've tried..