title: Disable a function
body: <p>I have a tooltip that I want to disable. It is from <a href="http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery" rel="nofollow noreferrer">this site</a> and is basically set and called as follows:</p>
  
  <pre><code>this.tooltip = function(){....}
  $(document).ready(function(){
   tooltip();
  });
  </code></pre>
  
  <p>I don't want to unbind the hover or mouseover events since they are also tied to other effects. I have tried to disable without success as follows (at the bottom of the page):</p>
  
  <pre><code> $(document).ready(function(){
    this.tooltip = function() {}
   })
  </code></pre>
  
  <p>and</p>
  
  <pre><code> $(document).ready(function(){
    function tooltip() {}
   })
  </code></pre>
  
  <p>Am I missing something?</p>