jQuery选择器-->子元素 nth-child(n+1) nth-of-type(-n+1)

  $("tr td:nth-of-type(n+2) input").click(function () {});

从第2个开始选择,把每个tr下的第一个td 排除掉

猜你喜欢

转载自www.cnblogs.com/xxing/p/11770944.html