I often find that I do such things when manipulating tables: -
$($('table tr').children()[2]).html();
For when I want the cell in the third column to be merged in jQuery. Selecting node with [n], and then moving on $()to get a complete jQuery set.
Is there a tidier, more readable way to do this?
source
share