Then all you need to do is loop through the newly created items (text boxes), like the demo does, and get the value of their
valueattribute which will be the entered text. You can then add that text to the
addedItemshowever you like - as a new element for each entered text or as a concatenated string with a
<br />between each entered text.