How can I get the id of clicked element using jquery?
<p>I want to get the id of the clicked element and then show <code>div</code>s that match this id. I am using the following code, and it's not working. Please help.</p>

<pre><code>$(function () {  

var tabContainers = $('div.difContetform &gt; div');
    $('div#head-nav ul a').click(function (event) { 
        $('div#head-nav ul a').removeClass('current');
        $(this).addClass('current');
        var current_id = $(this).attr("id");
        var targeted='DIV'+current_id;
        $(targeted).show();
        $(targeted:not).hide(); 
        // 
        return false; 
     })
});
</code></pre>
