jquery ajax sending same request through a loop? -


Is it possible to send a single post request through AJAX using a .post () in a loop?

Say I have an array, and in this I would like to send a request for a post such as update, remove from database.

Yes, it is possible, you can do CN something like that,

  yourArrayObj.forEach (function (singles) {$ ajax.post ('/ your_url', request data, success callback, error breakback);});  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -