我尝试了以下代码,但它不起作用:
ownerIndex = $('th:contains("Owner")').index(); $('table tr td:nth-child(ownerIndex)')
有任何想法吗?
谢谢
$('table tr td:nth-child('+ownerIndex+')')