PHP Code:
<table>
<thead>
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr>
</thead>
<tbody>
<tr>
<td>Sample Text</td>
<td class="header">Expand</td>
</tr>
<tr class="content">
<td>This is the content that</td>
<td>would be hidden until expand was clicked.</td>
</tr>
</tbody>
</table>
The table-row with the class "content" is what I want to remain hidden. I'd like to use display: none on it, but I couldn't figure out how to switch to any other display mode in the accordion code. I'd like to either be able to use the class "content" to set the style of the element, or just hide it with javascript by calling getElementById.
Bookmarks