If I have a form like this:
<form action="" method="post">
<select id="links" name="links">
<option value="http://something.com">Link 1</option>
<option value="http://somethingelse.com">Link 2</option>
</select>
<a href="#">Copy to Clipboard</a>
</form>
What would I need to add to it so a click on the linked text actually copied the selected value from the select box?
It could be jQuery or regular javascript, regardless...
thanks!