<html>
<head>
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var trHTML = "<tr><td align=\"center\">111</td><td align=\"center\">222</td><td align=\"center\">333</td></tr>";
$("#tab").append(trHTML);
var trHTML = "<tr><td >444</td><td >555</td><td >666</td></tr>";
$("#tab").append(trHTML);
//向第二行添加数据
var trHTML = "<tr><td >aaa</td><td >bbb</td><td >ccc</td></tr>";
$("#tab tr:eq(1)").after(trHTML);
});
</script>
</head>
<body>
<table id="tab" border=1>
<tr>
<td >IPV4</td><td >IPV6地址</td><td >MAC地址</td>
</tr>
</table>
</body>
<head>
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var trHTML = "<tr><td align=\"center\">111</td><td align=\"center\">222</td><td align=\"center\">333</td></tr>";
$("#tab").append(trHTML);
var trHTML = "<tr><td >444</td><td >555</td><td >666</td></tr>";
$("#tab").append(trHTML);
//向第二行添加数据
var trHTML = "<tr><td >aaa</td><td >bbb</td><td >ccc</td></tr>";
$("#tab tr:eq(1)").after(trHTML);
});
</script>
</head>
<body>
<table id="tab" border=1>
<tr>
<td >IPV4</td><td >IPV6地址</td><td >MAC地址</td>
</tr>
</table>
</body>
</html>
效果图: