adding somthing in a div while looping ajax things

adding somthing in a div while looping ajax things

Hi,

I have to loop ajax requests and to add a dot into a div each time.

For example :

  1. for (var i=0; i < 100; i++) {
  2.       jQuery ('#mydiv').append ('.');
  3.       jQuery.ajax ({
  4.             async: false,
  5.             ...
  6.       });
  7. );

With firefox, everything works well but with others browsers (safari, rockmelt, etc.) my dots are displayed only at the end of the loop...

Could someone help me ?

Thanks.