I have a list and each item has a button. When I click the button I want a div to appear within the list item. The contents of this appearing div will be the same for each list item. How do I dynamically generate these divs using Javascript?
I've investigated the createElement() function but have yet to grasp its use or find a good example.