how to get the value from a CSS class object in javascript
<p>I have to select an <code>&lt;a&gt;</code> element from the given class of objects. when i click on the anchor tag in the <code>showcase_URL</code> class, i want the jquery function to get the value from <code>&lt;a&gt;</code> tag. 
How can this be done?</p>

<p>I cannot make this an <code>id</code> as I am running a while loop to construct all the elements in php. there would be multiple objects of this class. there is no definite selector through which I can get the value of the anchor tag. Help would be much appreciated.</p>

<pre><code>        echo '&lt;div id="content"&gt;';  
        echo '&lt;div class="showcase_data"&gt;';
        echo    '&lt;div class="showcase_HEAD"&gt;'.$row-&gt;title.'&lt;/div&gt;';
        echo    '&lt;div class="showcase_TYPE"&gt;'.$row-&gt;type.'&lt;/div&gt;';
        echo    '&lt;div class="showcase_date"&gt;&amp;nbsp;&amp;nbsp;'.$row-&gt;date.'&lt;/div&gt;';
        echo    '&lt;div class="showcase_THUMB" style="float: left;" &gt;&lt;/div&gt;';
        echo    '&lt;div class="showcase_TEXT"&gt;'.$row-&gt;details.'&lt;/div&gt;&lt;br/&gt;';
        echo    '&lt;div class="showcase_URL"&gt;&lt;a class="purl" value='.$row-&gt;num.'href="'.$row-&gt;url.'"&gt;PROJECT URL&lt;/a&gt;&lt;/div&gt;';
        echo    '&lt;/div&gt;';
        echo    '&lt;/div&gt;';
</code></pre>
