【发布时间】:2017-10-29 08:38:55
【问题描述】:
我有一张桌子,当点击加号图标时,我想在 tr 内打开相同的 tr。我不明白我使用哪个 html 元素来打开。
请帮帮我。 提前致谢。
<div class="procedure-table">
<table class="table" style="border: 2px slide;">
<thead>
<tr>
<th>Procedure Name</th>
<th>Cost</th>
<th>Taxes</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td class="proce-td">
<ul>
<li>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting ghj industry.<span><a href="">[+]</a></span>
</p>
</li>
</ul>
</td>
<td class="cost-td">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td class="taxes-td">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>
<div class="note-div">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<i class="material-icons close-icon2">close</i>
<i class="material-icons edit-icon">edit</i>
</td>
</tr>
</tbody>
</table>
</div>
【问题讨论】:
-
谢谢,但我想要切换花药 tr 不一样的 tr。当您单击图标时,相同的 tr 在相同的 tr 中打开
标签: javascript html css expand collapsable