特定の列がテーブルに表示されているかどうかを確認する必要があります。各列には、一意の ID を持つ TH ヘッダーがあります。テーブル内の TH 要素の存在を確認する最良の方法は何ですか?
テーブルコードの例を次に示します。
<table id="attr-table">
<thead>
<tr>
<th id="attr-action-col"><input type="checkbox" value="" class="attr-action-box" id="attr-action-col_box"></th>
<th id="attr-name-col">Name<span class="ui-icon ui-icon-triangle-1-n"></span></th>
<th id="attr-type-col"></th>
<th id="attr-scope-col"></th>
<th id="attr-value-col">English Value</th>
<th id="attr-master-col">Master Value</th>
<th id="attr-translation-col">T</th>
<th id="attr-workflow-col">Status</th>
<th id="attr-history-col">H</th>
</tr>
</thead>
<tbody>
....
</tbody></table>
ティア