title: Hide a link in the datatable when form is submitted in the popup
body: <p>I need to hide a link in the datatable when the form is submitted in a popup. I have Approve link in the datatable. They are displayed only for particular rows(for batchInfo rows). when I click the link a popup opens and when I am done with the form submitting in the popup, I want the link to disappear(Hide it).</p>
  
  <p>script inside the datatable:</p>
  
  <pre><code>&lt;s:if test="%{(batchInfo)}"&gt;
  &lt;td align="center" onclick="openapproverejectfile('&lt;s:propertyvalue="#approvalURL"/&gt;')"&gt;
  &lt;a id="ApproveRejectCPlink" href="#"&gt;&lt;u&gt;Approve&lt;/u&gt;&lt;/a&gt;
  &lt;/td&gt;
  &lt;/s:if&gt;
  &lt;s:else&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;/s:else&gt;
  </code></pre>
  
  <p>My data table:</p>
  
  <pre><code>$(document).ready(function() {
  searchresults = $("#searchclientfileresults").dataTable({
  "sScrollX" : "100%",
  "sScrollY":"220px",
  "bSort":true,
  "bAutoWidth" : false,
  "bPaginate" : true,
  "aLengthMenu": [[5, 10, 15, 20, -1], [5, 10, 15, 20, "All"]],
  "sPaginationType" : "full_numbers",
  "bLengthChange" : true,
  "bFilter" : true,
  "bInfo" : false,
  "oLanguage": {
  "sEmptyTable":   "No data available in table"
  },
  "aoColumns": [
  null,
  null,
  null,
  null,
  null,
  null,
  null,
  null
  ]
  });
  });
  </code></pre>
  
  <p>How do I hide the link on form submit in some popup inside a datatable??</p>