Loop JavaScript através de elementos infantis
var children = tableFields.children;
for (var i = 0; i < children.length; i++) {
var tableChild = children[i];
// Do stuff
}
ImNotEvenIndian