Please don't throw stones at me because i'm total newbie at js and jquery. is it possible to focus a div? i just wanted to process events when div is clicked OR is focused and when we click outside the div. Something like that:
HTML:
<div id="focusedDiv"></div>
JS:
    $("#focusedDiv").focus(function () {
        ....
    });
    $("#focusedDiv").focusout(function () {
        ....        
    });
Thanks in advance!
 
    