该按钮位于此TR上,我可以使用以下代码轻松将其删除。如何删除NEXT TR
例如
<TR></TR> --> Code works with removing this
<TR></TR> --> Remove the next TR THis one
var $this = $(this),
orderTr = $this.parents('tr');
orderTr.remove();
您可以使用像
$(this).closest("tr").next().remove();
或者
$(this).parents("tr").next().remove();
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句