How to select elements while hovering
<p>How can I select elements while I hover them on HTML. Like if I hover a div or its child then I need my control over it. I want to show a border around it. my code is</p>

<pre><code>jQuery(document).ready(function(){
    $(window).bind('mousemove', function(e) {
        current_id = $(e.target).attr('id');
        jQuery('#'+current_id).css('border','2px solid yellow');        
    });
});
</code></pre>

<p>But this code will gives me control if I hover a specific div but I need I can show a border even if I am hovering inside a div and same if that div contains a child than on hovering it I can get a border around that child not that parent div.</p>
