Dynamically Duplicatingh and Adding Rows

Discussion in 'ASP .Net' started by A Question, Dec 20, 2007.

  1. A Question

    A Question Guest

    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
     
    A Question, Dec 20, 2007
    #1
    1. Advertisements

  2. Eliyahu Goldin, Dec 20, 2007
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.