1

Hi i am new to Html and javascript and want some suggestion on how to implement a list container in Html, like when the user selects one of the files using browse b button then those file should appear in the List container. enter image description here If there is a file in the list container it should also be default selected so that i can give options to view or delete that file. Please give some suggestions/ best practices to implement this.

Anand Kadhi
  • 1,790
  • 4
  • 27
  • 40
  • 2
    use javascript or maybe easier for you to use jquery to append to a list dynamically e.g $("#mylist").append("
  • "+filename+"/
  • "); --- http://api.jquery.com/append/ -- you can prepend also so the last file is at the top of the list -- http://api.jquery.com/prepend/
  • – Tasos Feb 18 '16 at 03:01