alert with src attribute of any element i click with jQuery or Javascript
<pre><code>&lt;img src="pic1.jpg" class="mythumbs"&gt;
&lt;img src="pic2.jpg" class="mythumbs"&gt;
&lt;img src="pic3.jpg" class="mythumbs"&gt;
&lt;img src="pic4.jpg" class="mythumbs"&gt;

&lt;script&gt;
/*
here is the code which makes me when i click on any image, it shows me its src attribute
(without using idTag 'preferred'). 
*/

alert(theAttribute);
&lt;/script&gt;
</code></pre>

<p>i need to type a code which shows me the clicked item's src attribute without using idTags</p>
