Show the element if it has a class whose name is tested
<p>I got a class name after I clicked a element in the document. And then I want to select all elements that has this selected class. For example;</p>

<pre><code>$('.tabs1 li a').hover(function(){

var clicked = $(this).attr("class");

// this doesnt work
$('a[class="clicked"]').css("display","block");

});
</code></pre>
