Ember component multiple ajax calls

39
May 19, 2017, at 7:01 PM

I am very new to ember js 2.13. I have a component and have defined actions in them. How do I go about making multiple ajax calls based on differing payload. Any tips or samples will be appreciated.

    for (var i = 0; i < emails.length; i++) {
  //prepare Data
   var payload = {
           "data": {
                "email": "email1",       
                   }
                }
   payLoadList.push(payload);
   }
   payLoadList.forEach(function(object){
     adapter.ajax(adapter.getFullUrl("email"), 'POST', {data: object});
   }
READ ALSO
How to open new form on dynamic button click event in php

How to open new form on dynamic button click event in php

I have created dynamic button in phpi need to to open new form in same homepage on that dyanamic button click event and when i am clicking on button it refresh the page

46
ASP MVC Refresh partial view grid

ASP MVC Refresh partial view grid

I am trying to refresh a partial view grid after changing a recordI have a button where the user can click on, than it will change a row in the grid

25
jQuery AJAX function call

jQuery AJAX function call

I have a problem with jQuery calling an AJAX function, basically everytime a user changes a select box, I want it to call the getSubCategories function, but for some reason, nothing is happeningAny ideas?

30
How to get current state data in jquery datatable after searching sorting etc?

How to get current state data in jquery datatable after searching sorting etc?

Let I have five rows in jquery datatableAfter searching no of rows becomes say 3

48