Is it possible to use switch case to go through a table's rows and act on one element
<p>I want to create an add button which  when clicked adds the current value of a selectbox to a textarea. I want to act upon the button's name, so for example whenever a button with the name "add" is clicked i want the value of the first  element of that  to be written to  the text area. </p>

<p>So far i have something like this, but even the alert won't trigger and i don't know what i'm missing.</p>

<p><a href="http://jsfiddle.net/CZNwX/6/" rel="nofollow">http://jsfiddle.net/CZNwX/6/</a></p>

<p>Any help would be appreciated.</p>

<p><strong>EDIT</strong></p>

<p>I think I didn't express what i wanted clearly:</p>

<p>So for example: when i click the add button to the right of the first selectbox , the value of that selectbox(and only that one) will get written to the textarea, or as the case is an alert with the value of the selectbox will appear.</p>

<p>Also edited the jsfiddle code</p>
