我正在将手风琴效果集成到表格中。
具有“更多”类的表格行是上述表格行的子项。单击该表行时,我希望切换“更多”tr。我如何只针对那些表行而不是常规的“行”表行。
<tr class="row first">
<td>
<span class="time">09.00–09.15</span>
<h3>
Welcome and introduction</h3>
</td>
<td>
person info</td>
</tr>
<tr class="row">
<td>
<span class="time">09.00–09.15</span>
<h3>
Welcome and introduction</h3>
</td>
<td>
person info</td>
</tr>
<tr class="more">
<td>
<h3>
hidden content</h3>
</td>
<td>
person info</td>
</tr>
<tr class="more">
<td>
<h3>
hidden info</h3>
</td>
<td>
person info</td>
</tr>
</div>
<tr class="row">
<td>
<span class="time">09.00–09.15</span>
<h3>
Welcome and introduction</h3>
</td>
<td>
person info</td>
</tr>
<tr class="row break">
<td>
<h3>
10.50–11.20 Coffee break</h3>
</td>
<td>
</td>
</tr>