Jump to content

rio

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by rio

  1.  

    On 11/6/2017 at 8:46 PM, Kwisatsoundman said:

    Hello domdag27,

    Here is a little program that solves your problem. You can test it by using the three files (test.html, screen.css and local-storage2.js) I've attached to my reply.
    It can of course be further improved, for example by checking that no two tasks have the same identifier before being added and displayed in your table.

    As a general rule of thumb, you should always split up your JavaScript programs into several parts (= or little functions) to write it and improve it more easily. You'll see that in this one, there is seven little functions each dedicated to a specific purpose. 

    I've commented out as much as I could this javascript program. Enjoy!

     

    local-storage2.js

    screen.css

    test.html

    hello....the above links are not accessible...

    I want to persist  dynamic table data..so how can I do this

×
×
  • Create New...