Dynamic JS for List

Dynamic generation of List by JS