title: How to send a list of data to Controller Action method using jQuery ajax method in ASP.NET MVC?
body: <p>Here is my Action Mehtod</p>
  
  <pre><code>public JsonResult GetById(IEnumerable&lt;Guid&gt; idList)
      {
  
          //.....
      }
  </code></pre>
  
  <p>And my JavaScript . I'm making an array of strings using  <strong>li</strong> element's id property </p>
  
  <pre><code>var idArr = [];
          var list = $("#ulApplications li");
          $.each(list, function () {  idArr.push($(this).attr("id")) });          
  
  
          $.ajax(
              {
                  type: "GET",
                  url: "/rolemanagement/application/GetById/",
                  contentType: false,
                  datatype: "json",
                  data: { 'idList': idArr },
                  success:........
  </code></pre>
  
  <p>On my Action method I'm not getting any data.It seems I'm Missing something.
  thanks</p>