I have this simple fiddle as a working example-
I am trying to detect mouseout event from a div section. 
When i mouseover on this image it shows caption; saying "Change Image". After 5 seconds caption goes fadeOut.
I am using setInterval to set it accordingly. Now if I do mouseout of this image, then only I want Interval function should be called.
How do i detect mouseout event in jQuery?
Tried-
$(function () {
        $('.image-profile').mouseover(function () {
            $('.change-image').stop().show();
            if ($('.image-profile').mouseout()== true) {
                TimeOut();
            }
        });
        setInterval(function TimeOut() {
            $('.change-image').fadeOut()
        }, 5000
        );
    });