title: insert row into datatable with textbox in rails application
body: <p>I am trying to implement insert two text box with same row in datatable  same row  of searching box I am trying by following way</p>
  
  <p>custom.js</p>
  
  <pre><code>$(window).load(function (){  
  var table = document.getElementById("example");
  var row = table.insertRow(0);
  var cell1 = row.insertCell(0);
  var cell2 = row.insertCell(1);
  cell1.innerHTML = "NEW CELL1";
  cell2.innerHTML = "NEW CELL2";
   });
  </code></pre>
  
  <p>but i cant to do that...plz help</p>