dynamically add and delete rows in a form

Discussion in 'JavaScript' started by suehana82, Jul 6, 2007.

  1. #1
    Dear all,

    I have a very complicated problem and i have to solve it asap. I have an update form that display all message and its sequence number from database. At the same I can add a row below or delete the current row when the user click "add line" or "delete line" button. Furthermore the user may also make modification on the Message and the message sequence. Any help? Many thanks.

    For example

    Message ID Message Message NO.
    M1T01 Line 1 of message 1 [Add Line][Delete Line]
    M1T01 Line 2 of message 2 [Add Line][Delete Line]
    M1T01 Line 3 of message 3 [Add Line][Delete Line]
    M1T02 Line 4 of message 4 [Add Line][Delete Line]

    [MODIFY][CANCEL]
     
    suehana82, Jul 6, 2007 IP
  2. gibex

    gibex Active Member

    Messages:
    1,060
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    95
    #2
    just use AJAX for your problem. Are many samples on the web. Just google it
     
    gibex, Jul 6, 2007 IP