title: TypeError: g is null in Datatables
body: <p>I am using ajax datatables in my project but I am getting g is null error in console.
  The datatable actually renders fine. But because of this error, my other javascript events on that page stops working.</p>
  <p>I read other answers here already but no luck with anything. Response from server seems fine. Number of columns in response are same as in <code>&lt;thead&gt;</code>.</p>
  <p>Here are some screenshots, <br></p>
  <p>Html code,</p>
  <p><a href="https://i.stack.imgur.com/YQtwX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YQtwX.jpg" alt="html code" /></a></p>
  
  <p>jquery code,</p>
  <p><a href="https://i.stack.imgur.com/3oKdD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3oKdD.jpg" alt="jquery code" /></a></p>
  
  <p>console response,</p>
  <p><a href="https://i.stack.imgur.com/gxg44.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gxg44.jpg" alt="response" /></a></p>
  
  <p>Appreciate your time and help.</p>