jquery: drawing and erasing border on focus and blur on any child elements of a div
<p>I'm having a div which can have many (not less then 5) child elements (mostly they are <code>div</code>, <code>table</code> and <code>img</code>). I want to draw border (e.g. with <code>jquery.css</code> method) when a user clicked on any child element of that div. It can be easily done with something like</p>

<pre><code>$div.click(function() {
    //drawing frame here
});
</code></pre>

<p>Removing frame on click outside is much more harder. Of cause I can handle deselecting on click event thrown by any other div or body. But... maybe there's more elegant solution?</p>

<p>Thank you in advance!</p>
