Find and assign content to a variable
<p>What I need is to find an element which have <em>class="selected"</em> and than assign content of that element to a variable.</p>

<pre><code>&lt;a href="#"&gt;This is the content&lt;/a&gt;
&lt;a href="#" class="selected"&gt;This is the content&lt;/a&gt;
&lt;a href="#"&gt;This is the content&lt;/a&gt;
</code></pre>

<p>Any help? Thank you</p>
