title: jQuery Plugin: Adding Callback functionality
body: <p>I'm trying to give my plugin callback functionality, and I'd like for it to operate in a somewhat traditional way:</p>
  
  <pre><code>myPlugin({options}, function() {
      /* code to execute */
  });
  </code></pre>
  
  <p>or</p>
  
  <pre><code>myPlugin({options}, anotherFunction());
  </code></pre>
  
  <p>How do I handle that parameter in the code? Is it treated as one full entity? I'm pretty sure I know where I'd place the executory code, but how do I get the code to execute? I can't seem to find a lot of literature on the topic.</p>