title: jquery data table not working from second page
body: <p>I am using jquery Data table 1.9.4 and jquery 1.9.1 and i am trying to perform ajax call like this on click event.</p>
  
  <pre><code>$(".icon-trash").on('click',function () {
                  // alert($(this).attr('id'));
                  $.post('/WorkOrderRequest/DeleteWOR',
                          { id: $(this).attr('id') },
  
                          function (returndata) 
                          {
  
                              if (returndata.ok) 
                              {
                                  window.alert(' deleted!');
                                  $("#emp" + idemployee).hide('slow');
                              }
                              else {
                                  window.alert(' error : ' + returndata.message);
                              }
  
                      });
  
              });
  </code></pre>
  
  <p>html part:</p>
  
  <pre><code>@foreach (var item in Model)
                      {
  
                          &lt;tr&gt;
                              &lt;td&gt;
                                  @Html.DisplayFor(modelItem =&gt; item.ProjectCode)
                              &lt;/td&gt;
                              &lt;td&gt;
                                  @Html.DisplayFor(modelItem =&gt; item.WO_Date)
                              &lt;/td&gt;
  
  
                              &lt;td&gt;
                               &lt;a  id='@(item.WO_ID)' class="icon-edit" /&gt;
                                 |                               
                               &lt;a  id='@(item.WO_ID)' class="icon-trash" /&gt;
                             &lt;/td&gt;
                          &lt;/tr&gt;
                      }
  </code></pre>
  
  <p>It is working fine on first page but from second page its not showing any result. Please help</p>