I'm using jquery 1.9.1. i need to catch focusout event when click outside of div. I'm using id for do this. here is my code,
HTML :
<div id="mydiv">
</div>
script:
 $('#mydiv').focusout(function (){
        $(".num_C").removeClass('change_bg');
      });
this focusout not working as i expected. how to catch this event. i need remove .num_C class when click outside of #mydiv. anyone got this. can i give solution for do this ?
