It is required that when you click a list item, the function works and displays its value. The list is initially empty, items are added dynamically. Do not use jQuery. Help