In need of dynamically adding/deleting table rows

Discussion in 'JavaScript' started by PedstersPlanet, Feb 15, 2006.

  1. #1
    Hi,

    I'm trying to find a javascript that allows you to automatically add and delete a row to and from a table.
    I have a form which has about 11 checkboxes, when clicked & checked, they should add a row to the table, likewise when un-checked the row should disappear.. Each row should have an i.d to tell which checkbox it belongs to, so it can be deteted (if need be).
    These new rows are for a form file-field..... Like GoogleMail's attachments, and sholuld act like that.

    I hope I've explained fully what I need.....

    TIA
     
    PedstersPlanet, Feb 15, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mad4, Feb 17, 2006 IP
    PedstersPlanet likes this.
  3. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Great find, thank you!
     
    PedstersPlanet, Feb 17, 2006 IP