我在使用 .load () jquery 安装表时遇到问题。
我的表如下。
<table id="table_test">
<thead>
<tr>
<th> COLUNA 1 </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
我的文件组合了以下输出。
<tr>
<td>
<span> Value 2</span>
</td>
</tr>
我正在使用以下功能。
<script type="text/javascript">
$(document).ready (function () {
$('# table_test'). load ('modules/a/processa.php? opt = 2');
});
</ script>
但是它无法挂载表中的行。
http://jsfiddle.net/marcoscarraro/7NsNu/
有什么建议么?