title: How to change/redefine function by itself
body: <p>I want to run function in jQuery, but change/redefine this function, when it is finished.</p>
  
  <p><a href="http://jsfiddle.net/ynternet/Nwxzb/" rel="nofollow"><strong>jsFiddle EXAMPLE</strong></a></p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id="test"&gt;TEST&lt;/div&gt;
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>function yes() {
      alert('yes');
  
      // I dont know how, but i mean something like :
      //this.fn.function yes(){ 
      //   alert('no');
      //};
  };
  
  $('#test').click(function () {
      yes();
  });
  </code></pre>