Code:
<html>
<head>
<script LANGUAGE="JavaScript">
function addRow(tableID){
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var cell1 = row.insertCell(0);
/*var element1 = document.createElement("input");
element1.type = "text";*/
[B]cell1.innerHTML="<input type='text'[/]
Leave a comment: