【发布时间】:2014-04-24 16:36:04
【问题描述】:
我的页面上有一个表格,我想知道是否可以隐藏一个表格,然后在单击按钮时显示? 我的桌子:
<table border="5",th,td, cellspacing="5", cellpadding="5", width="500", align="center">
<tr>
<th>TP ID</th>
<th>Permit Deny</th>
<th>Level</th>
<th>Session</th>
<th>Information Specialist</th>
</tr>
<?php foreach ($results as $row): ?>
<tr>
<td><?php echo $row->TP_ID ?></td>
<td><?php echo $row->Permit_or_Deny ?></td>
<td><?php echo $row->Level ?></td>
<td><?php echo $row->Session ?></td>
<td><?php echo $row->Information_specialist ?></td>
</tr>
<?php endforeach ?>
</table>
【问题讨论】:
-
是的,通过使用 Javascript 或 jQuery
标签: html button html-table