Get above element id
<pre><code>&lt;textarea name="message" id="message" class="box_1"&gt;&lt;/textarea&gt;
&lt;div class="buttons"&gt;
  &lt;img src="smileys/smile.gif" title=":)" /&gt;
&lt;/div&gt;
</code></pre>

<p>How to get the id of the textarea when the image is clicked? There are more than one .buttons and smileys on the page (as well as more than one textarea).</p>
