I want to change the class of a td tag given the td tag's id:
(我想在给定td标签的id的情况下更改td标签的类:)
<td id="td_id" class="change_me"> ...
I want to be able to do this while inside the click event of some other dom object.
(我希望能够在其他dom对象的click事件中执行此操作。)
How do I grab the td's id and change its class? (我如何获取td的id并更改其类?)
ask by aeq translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…