【发布时间】:2014-09-02 16:54:15
【问题描述】:
我无法将焦点设置在表格中带有输入框的第一个 td 单元格上。我使用来自this post 的解决方案将单元格内容更改为输入。现在我想将焦点放在第一个输入框上。 我的表结构是这样的
<table id="knowledgeTreeTable" class="custom">
<tbody>
<tr>
<th class="">Who are the services being provided for?</th>
<td class="">
<input type="text" style="width: 97%;">
</td>
</tr>
<tr>
.....
</tr>
.....
</tbody>
</table>
【问题讨论】: