Getting data from HTML or JavaScript object? : <p>Let's say I have a HTML table with 5k rows and 50 columns (generated from JavaScript object) and I would like to send 50 checked rows (checkbox) from client to server using HTTP (JSON). What would be more efficient? Iterating in HTML to find the checked rows or iterating trough my JavaScript object to find corresponding rows?</p>

<blockquote>
  <p>fields = columns (50)</p>
  
  <p>values = rows (~5k)</p>
</blockquote>

<p><strong>JavaScript data object:</strong></p>

<pre><code>parent {
  child: [{field1: value1, field2: value2, field3: value3, and so on...}]
}
</code></pre>
