row adding

i know ho to ad a cel but can anyone help me ad a row??
ty
greetz bwork

Comments

  • : 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 tag to the table. In this you can add cells by adding the tags.
  • : : 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 tag to the table. In this you can add cells by adding the 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 :)
  • : : : 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 tag to the table. In this you can add cells by adding the 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
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories