Dynamically Duplicatingh and Adding Rows

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top