我的表中有两行,如此jsfiddle链接所示, http://jsfiddle.net/o6ew3zom/。使用next()选择下一个表格行给出undefined
我选择使用table tr
所有行和访问下一行作为,
$(this).next()
它打印,
the current element id is firstRow
the next element id is undefined
the current element id is secondRow
the next element id is undefined
我预计,
the current element id is firstRow
the next element id is secondRow
the current element id is secondRow
the next element id is undefined
东阳这不是它的兄弟姐妹,一个是内部THEAD和其他内部TBODY –
它的作品,感谢所有.. –