: : : i know ho to ad a cel but can anyone help me ad a row??
: : : ty
: : : greetz bwork
: : :
: : You can add a row by adding a new <tr></tr> tag to the table. In this you can add cells by adding the <td></td> tags.
: :
:
:
: yes sorry for the bad Question acually i ment adding a cel with a function :$:$
:
: this is what i have but it keeps adding cells and i need to ad rows.
: :
: var x=document.getElementById('mytable').rows[f]
: var y=x.insertCell(0)
: y.innerHTML= document.form1.rue.value
:
: F = variable wich with i tried to makt it go down a row
: f ads up each time a button is pressed
:
: thx tough :)
:
There is an insertRow() method in the table object. More info:
http://www.w3schools.com/htmldom/dom_obj_table.asp