I have a list of elements I'd like click to copy the values inside. the elements all have the class datavalue
. I'm thinking a Jquery selector with some javascript copy would help.
<div>
<h4>IDM</h4>
<hr />
<dl class="dl-horizontal">
<dt>
FirstName
</dt>
<dd class="datavalue">
John
</dd>
<dt>
SecondName
</dt>
<dd class="datavalue">
Baxter
</dd>
<dt>
DBrith
</dt>
<dd class="datavalue">
12/25/1982
</dd>
</dl>
</div>