¡@

Home 

2014/10/16 ¤W¤È 12:03:45

jquery Programming Glossary: how_many_done

How to confirm when more than one AJAX call has completed?

http://stackoverflow.com/questions/5932432/how-to-confirm-when-more-than-one-ajax-call-has-completed

than two lists with a couple small modifications use var how_many_done 0 instead of one_done . Do a how_many_done instead of one_done.. use var how_many_done 0 instead of one_done . Do a how_many_done instead of one_done true and move it to the top of done_checker.. the top of done_checker . Replace the if one_done with if how_many_done number_of_tasks where number_of_tasks is how many AJAX tasks..

How to confirm when more than one AJAX call has completed?

http://stackoverflow.com/questions/5932432/how-to-confirm-when-more-than-one-ajax-call-has-completed

blah gridComplete done_checker This nicely extends to more than two lists with a couple small modifications use var how_many_done 0 instead of one_done . Do a how_many_done instead of one_done true and move it to the top of done_checker . Replace the.. extends to more than two lists with a couple small modifications use var how_many_done 0 instead of one_done . Do a how_many_done instead of one_done true and move it to the top of done_checker . Replace the if one_done with if how_many_done number_of_tasks.. . Do a how_many_done instead of one_done true and move it to the top of done_checker . Replace the if one_done with if how_many_done number_of_tasks where number_of_tasks is how many AJAX tasks you have. The general version would look sort of like this..