Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    151
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dynamic Table (add, remove rows) that works across modern browsers

    An illustration:



    This is an example of what I currently have. There is also a button which adds more rows. It wasn't too hard to get it working using CSS and innerHTML:

    Code:
    <div id="main container">
     <div id="row-1">
       <input.....
     </div>
     <div id="row-2">
       <input.....
     </div>
    etc

    However, due to mass css headaches with the layout, I' like to see if it can be done it tables instead and using the DOM methods (nodes, createElement etc)

    so far, the examples I've seen either don't allow the same functionality or don't work across IE5+(win), and modern versions of FFox, Safari and Netscape (MAC + WIN)

    Does anyone know of a good class/example/tutorial?

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •