我的代码:
function removeTds() {
var elements = $('#goldBarList tr:not(:eq(0))').filter(':has(:checkbox:checked):lt(100)');
var count = elements.length;
elements.remove();
if (count === 100)
window.setTimeout(removeTds, 1);
}
removeTds();
我如何知道elements
变量中的行号?