Ok, sry I didnt understand.
I tried that and no luck. It still did the same thing. But my questions is should I be able to add the value to the portion of the script?
var cellRight = row.insertCell(1);
var el = document.createElement('input');
el.type = 'text';
el.name = 'rm[]';
el.id...
Hi, new guy here. Ok I have this Add Row to Table script:
<script language="JavaScript" type="text/javascript">
// Last updated 2006-02-21
function addRowToTable()
{
var tbl = document.getElementById('tblSample');
var lastRow = tbl.rows.length;
// if there's no header row in the table...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.