title: How Store and Disable Event of another element Temporary
body: <p>I am looking for a way to manage the events. I have a hover function for element A, and click function for element B. I want to disable A`s hover function temporary while the second click of B.</p>
  
  <p>I am looking for a way that not necessary to rewrite the hole function of A inside of B. Something very simply just like  "Store and Disable Event, Call Stored Function" </p>
  
  <p>I found some technique like .data('events') and console.log. I tired but failed, or maybe I wrote them in a wrong way.</p>
  
  <p>Please help and advice!</p>
  
  <pre><code>$(A).hover();
  
  $(b).click( 
  
       if($.hasData($(A)[0])){   // if A has event,
               //STORE all the event A has, and disable
       }else{
              //ENABLE the stored event for A
       }
   );
  </code></pre>