Speeding up querying of inputs
Speeding up querying of inputs
What is the quickest way of extracting inputs from rows? On a table of around 500 rows, with 13 inputs per row, that's 6,500 dom hits using DataTables.$
. This takes over a minute on Chrome and crashes Internet Explorer.
We need to do this as each row requires validating before posting back to the server.
We're generating the table from an array of JavaScript objects if it makes any difference with deferred rendering turned off.
This question has an accepted answers - jump to answer
Answers
Perhaps try:
$('input', table.rows().nodes())
.Allan
Thanks Allan, got me on the right track