0

I have that small simple Jquery script :

$(".div").each(function(){
 $.get("https://www.example.com/makeit.php" )
            .done(function( data ) {
                //fill a input field with data
        });
});

There are a lot of iterations and some calls fail with a 500 error. I think there are too many requests per seconde. How to make my script continue to the next iteration after the get call is complete ?

thanks a lot

JojoLapin45
  • 139
  • 2
  • 11

0 Answers0