title: jQuery Datatables - Can't get input value from hidden pages
body: <p>I have this table in my HTML:</p>
  
  <pre><code>&lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Id&lt;/th&gt;
              &lt;th&gt;Actual weight&lt;/th&gt;
              &lt;th&gt;New weight&lt;/th&gt;
          &lt;/tr&gt;      
      &lt;/thead&gt;
  
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;1&lt;/td&gt;
              &lt;td&gt;10&lt;/td&gt;
              &lt;td&gt;&lt;input data-id="{{ object.id }}" type="number" name="input_new_weight" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
  
          &lt;tr&gt;
              &lt;td&gt;1&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;&lt;input data-id="{{ object.id }}" type="number" name="input_new_weight" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
  
          &lt;!-- multiply by 10 the number of trs --&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And I have this code in my javascript to get the input values:</p>
  
  <pre><code>var new_weights = []
  $("input[name='input_new_weight']").each(function(index, element){
  
      if( $(this).val() != "" ){
          var object_new_weight ={
              id: $(this).data('id'),
              new_weight: $(this).val()
          }
          new_weights.push(object_new_weight);
      }
  
  });
  console.log(new_weights);
  </code></pre>
  
  <p>I'm using jQuery DataTables plugin to generate the tables and have the possibili ty to filter, paginate, ordenate and etc.</p>
  
  <p>In some tables I have more than 10 entries, so the paginations works here. In the example above, it will be 2 pages: 1 and 2.</p>
  
  <p>When my javascript code is executed, it does only gets the inputs values from the visible table page. The inputs from the hidden pages are not get!</p>
  
  <p>Let's suppose that in page 1 I put the new weight values as 35, 75 and 80 and in the page 2 I put 40, 54, 97. When my javascript code runs, it does just get the values from the visible page.</p>
  
  <p>Please, can someone tell me why this is happening?</p>