title: How to access functions in jQuery plugins from outside the plugin?
body: <p>Take for example a plugin of the form:</p>
  
  <pre><code>jQuery.autocomplete = function(input, options) {
      function abc(){}
      function def(){}
  }
  </code></pre>
  
  <p>The functions run fine and as expected.  However, I want to be able to invoke function abc(); from a $(document).ready(function() {}); statement.  The following does not work, and I'd really like some advice.</p>
  
  <pre><code>$(document).ready(function() {
      jQuery.autocomplete.abc();
      abc();
      $(this)-&gt;abc();
  }
  </code></pre>