I have the following on a html page:
<div class="group>
  <textarea id="data" cols="20" rows="20"/>
  <a href="#" data-template="Some text">Use template</a> 
</div>
When I click the A tag I would like to fill the textarea under the same with the text included in its data-template.
How can I do this using JQuery?
Thank You, Miguel
 
     
     
    