title: Loading Data into Table from Jquery in MVC
body: <p>I have this Json returned from controller :</p>
  
  <pre><code> public ActionResult VerifyApp(string recurrence)
          {
              List&lt;foo&gt; item = schedulingProxy.CheckApp(recurrence);
  
              return Json(item, JsonRequestBehavior.AllowGet);
          }
  </code></pre>
  
  <p>And I have this table in my view:</p>
  
  <pre><code>&lt;div class="table"&gt;
                  &lt;table id="thids" class="bg"&gt;
                      &lt;thead&gt;
                          &lt;tr&gt;
                              &lt;th&gt;
                                  Date
                              &lt;/th&gt;
                              &lt;th&gt;
                                  Time
                              &lt;/th&gt;
                              &lt;th&gt;
                                  Slot
                              &lt;/th&gt;
                              &lt;th&gt;
                              &lt;/th&gt;
                          &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
                          @foreach (var item in conflictList)
                          {
                              &lt;tr id="@item.ID"&gt;
                                  &lt;td&gt;   
                                    @Html.DisplayFor(modelItem =&gt; item.ResourceFName)                             
                                  &lt;/td&gt;
                                  &lt;td&gt;
                                    @Html.DisplayFor(modelItem =&gt; item.ResourceLName)
                                  &lt;/td&gt;
                                  &lt;td&gt;
                                    @Html.DisplayFor(modelItem =&gt; item.ResourceSlot)
                                  &lt;/td&gt;
                                  &lt;td&gt;
                                    @Html.DisplayFor(modelItem =&gt; item.reason)
                                  &lt;/td&gt;
                              &lt;/tr&gt;                                 
                          }
                      &lt;/tbody&gt;
                  &lt;/table&gt; 
  </code></pre>
  
  <p>also i have added in the top of the view this : </p>
  
  <pre><code>@{
      var conflictList =new List&lt;Mavi.Domain.Model.contactThread&gt;();
  }
  </code></pre>
  
  <p>And I have this Axaj call in my Jquery : </p>
  
  <pre><code>function ChkAvailable() {
  
          pairString = pairString + newObj.ToString() + "]";
          var requrl = '@Url.Action("VerifyAppointment", "Scheduling", null, Request.Url.Scheme, null)';
          $.ajax({
              type: "POST",
              url: requrl,
              data: { recurrence: pairString },
              success: function (data) {
                 //returned List&lt;foo&gt;
              }
          });
      }
  </code></pre>
  
  <p>How can i add the values from my returned JSon Object into the conflictList ?? Or better yet .. How can i populate my Table ? </p>