Re-usable dropdown list when clicking various elements, what's the technique?
<p>Say I have various parts of a page, that when clicked, should display a dropdown list below the link I just clicked on.</p>

<p>Since this drop down is the exact same, I noticed that some sites do this, where they have a single drop down list defined in the DOM, and when clicked, it somehow gets displayed below where they clicked.</p>

<p>What's the technique to do this?</p>

<p>Would it be to have a empty div below all the parts of my site where I want to inject the drop down, then when clicked, copy the div that contains the drop down list elements to the element that was just clicked? Or is there a smarter way?</p>
