Since the direct children of <table> can be <thead> , <tbody> or <tfoot> (or <colgroup> or <caption> , but do not contain strings).
In the DOM browser, the tray <tr> in the <tbody> will implicitly wrap around. (for browsers that don't, jQuery fakes it)
You need to write $('#table > tbody > tr') .
SLaks May 6 '12 at 1:56 AM 2012-05-06 01:56
source share