find the class name of the link under a 'li' using jquery
<p>upon clicking on any of the li element , i want to get the class name of the link ('a' element) in the alert box. For example, clicking on 'One' will show 'm' and for the 'two', it will be 'n';</p>

<p>html:</p>

<pre><code>&lt;ul&gt;
&lt;li &gt;&lt;a class="m"&gt;One&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="n"&gt;Two&lt;/a&gt;&lt;/li&gt;

&lt;/ul&gt;
</code></pre>

<p>javascript:</p>

<pre><code>&lt;script type="text/javascript"&gt;

var my_func=function(){

var link_class; // find this class name

alert("link class name  ="+ link_class);



};


$(document).ready(function(){

$('ul li').click(my_func);


});

&lt;/script&gt;
</code></pre>

<p>How can I find the value of the variable 'link_class' using jquery?</p>
