Dynamically Duplicatingh and Adding Rows

  • Thread starter Thread starter A Question
  • Start date Start date
A

A Question

Hi Peeps,

Im now trying to code client side to add html table rows. So Basically, I
need to copy all the attributes from the preceeding row and add it. I am
able to create the row using

table.insertRow( index ).

However, I also need the all the stuff that goes inside the tag

<tr id=???? onmouseover="functioName()" et etc.

The addition of the row, must be an insert, not an append to the end. Any
guidance would be appreciated.

Many Thanks
 
Back
Top