title: How to use Datatable in javascript
body: <pre><code> $('#dFinalReport').html(_todayOrderLstHtml);
   $('#dFinalReport').dataTable(
    { "sDom": 'l&lt;"floatR pLeft10"T&gt;&lt;"floatR"f&gt;rtip',
      "aaSorting": [[3, "asc"]], "iDisplayLength": 20
    });
  </code></pre>
  
  <p>How to use datatable in javascript?</p>
  
  <p>i declared div element in html and called datatable using div id(dFinalReport).i got a error message ---------></p>
  
  <p>DataTables warning (table id = 'dFinalReport'): Attempted to initialise DataTables on a node which is not a table: DIV</p>
  
  <p>which id i should use to call datatable and when i call? </p>