4 tb = document.getElementById(
"tb");
6 nr = document.createElement(
"TR");
7 nc = document.createElement(
"TD");
8 nc.appendChild(document.createTextNode(
"second row"));
10 tb.insertBefore(nr,fr);
28 <INPUT type=button
value=
"insert" onclick=
"insertRow();">