title: jquery function inside a long process
body: <p>I have jquery script:</p>
  
  <pre><code>$("#theid").fadeTo(1000,0.01).getxmo().fadeTo(1000,1);
  
  function getxmo(){
      $('#output').append('okay!');
  }
  </code></pre>
  
  <p>It is not running the function part...</p>
  
  <p>What's the correct syntax to run a function in this way please!</p>