如何用 js 让 <tr> 不可用? 在线等!
<form name=a>
<tabled>
<tr id=cs>
<td> asdada </td>
</tr>
</table>
</form>
求一个 js 把 id 为“cs "的行 diabled!
为什么直接用 a.cs.disabled=true 不行呢?
[解决办法]
<tr> 不可用是什么意思?是指让改行的控件不可用吗?还是让改行不响应事件?
document.getElementById( "cs ").disabled= true;可以使tr行变灰.