var children = tableFields.children; for (var i = 0; i < children.length; i++) { var tableChild = children[i]; // Do stuff }