This is my Table that i use in my application. i've about 10 column and i use to make an action on another button to make enable and disable but I can't get the last column to lock it
this is HTML
<table id="DescriptionValue" width="100%" cellpadding="0" cellspacing="0" class="rgview" dir="rtl">
<thead>
<tr>
<th style="width: 70px">h1</th>
<th style="width: 20px">h2</th>
<th style="width: 40px">h3</th>
<th style="width: 40px">h4</th>
<th style="width: 40px">h5</th>
<th style="width: 40px">h6</th>
<th style="width: 40px">h7</th>
<th style="width: 40px">h8</th>
<th style="width: 40px">h9</th>
<th style="width: 40px">h10</th>
<th style="width: 20px">
<img onclick="InsertRow_Target();" src="../../../General/Images/ContextPlus.png" />
</th>
</tr>
</thead>
<tbody>
<tr>
<td id="tdUnitName">
<input type="text" id="txUnitNameAutocomplete" style="width: 100%" placeholder="" />
</td>
<td id="tdtxShad">
<input type="text" id="txShad" style="width: 100%" disabled="disabled" />
</td>
<td id="tdtxBuy">
<input type="text" id="txBuy" style="width: 100%" />
</td>
<td id="tdtxSale">
<input type="text" id="txSale" style="width: 100%" />
</td>
<td id="tdtxSalePosiotn">
<input type="text" id="txSalePosiotn" style="width: 100%" />
</td>
<td id="tdtxRepresentative">
<input type="text" id="txRepresentative" style="width: 100%" />
</td>
<td id="tdtxTotal">
<input type="text" id="txTotal" style="width: 100%" />
</td>
<td id="tdtxhalfTotal">
<input type="text" id="txhalfTotal" style="width: 100%" />
</td>
<td id="tdtxSpecial">
<input type="text" id="txSpecial" onkeydown="" style="width: 100%" />
</td>
<td id="tdtxBarCode">
<input type="text" id="txBarCode" onkeydown="" style="width: 100%" />
</td>
<td></td>
</tr>
</tbody>
</table>
JQuery
$("td:nth-child(1).last)
not working
and I want to disable the last column in table and i tries this could but it does not work can any body help about this issue
disable? right? because it's already enabled.nth-child(10)to get it.