title: Trigger jQuery mousemove event only once
body: <p>I'm trying to make an exit popup and I could do that using the following code.
  Whenever the user's mouse move out of the browser area, this gives a popup. But it is quite annoying when the popup comes everytime. I want to limit it to just a single time.
  Can somebody help me with this?</p>
  
  <pre><code>jQuery(document).ready(function () {
      jQuery(document).mousemove(function(e) {
          jQuery('#exitpopup').css('left', (window.innerWidth/2 - jQuery('#exitpopup').width()/2));
          jQuery('#exitpopup').css('top', (window.innerHeight/2 - jQuery('#exitpopup').height()/2));
          if(e.pageY &lt;= 5)
          {
              // Show the exit popup
              jQuery('#exitpopup_bg').fadeIn();
              jQuery('#exitpopup').fadeIn();
          }
      });
  });
  </code></pre>