Multiple forms ajax(jquery) request running only 6 times

Asked

Viewed 13 times

0

I am trying to send multiple forms with ajax and jquery but it is sending only 6 forms. Here is the code Jquery:

$('form').each(function(){

      var values = $(this).serialize();
                $.ajax({
                      url:"/inq/responder",
                      type:"POST",
                      data: values,
                      success:function(data)
                      {
                         
                      },
                      beforeSend: function(){
                          $('#loader').css({display:"block"});
                          },
                        complete: function(){
                          $('#loader').css({display:"none"});
                      }
                }); 
    });

Someone’s been through it and solved it?

  • 1

    Between 6 and 7, there is no difference? Or generating some divergence of data in relation to the others?

  • There is no difference as when I delete the sixth form, the seventh which becomes the sixth is sent.

  • Running locally or on the server? If you are on the server, you know if you have a request limitation?

  • Post the Forms codes if possible.

  • Both local and cloud is making the same mistake.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.