<table width="100%" cellspacing="2" cellpadding="0" class="data-entry">
<tbody>
<tr>
<th>
<span name="obj1">
<input type="checkbox" checked="checked"
id="chkOrg1">
<label for="chkOrg1">Ori 1:</label>
</span>
</th>
<td>
1. <input type="text" style="width:40px;"
id="txtOrg1">
</td>
<th>
<span id="lblDest1">Des 1:</span>
</th>
<td>
2. <input type="text" style="width:40px;" id="txtDest1" >
</td>
<th id="thCar1">
Car 1
</th>
<td >
3. <input type="text" style="width:25px;" id="txtCar1" >
</td>
--------------------------------------------------------------------------------------
<th>
<span name="obj2"><input type="checkbox"
checked="checked" id="chkOrg2">
<label for="chkOrg2">Ori 2:</label></span>
</th>
<td>
1. <input type="text" style="width:40px;" id="txtOrg2" >
</td>
<th>
<span id="lblDest2">Dest 2:</span>
</th>
<td>
2. <input type="text" style="width:40px;" id="txtDest2" >
</td>
<th id="thCar2">
Carr 2
</th>
<td id="tdCar2">
3. <input type="text" style="width:25px;" id="txtCar2" >
</td>
</tr>
<tr>
..
</tr>
<tr>
..
...
在上面的表格中包含复选框和文本框。当禁用上面的第一个文本框(1,2,3)时选中复选框,所以如何禁用文本框请帮助我如何禁用文本框请帮助我。