title: Calling a jQuery plugin without specifying any elements
body: <p>Say I have the following jQuery plugin:</p>
  
  <pre><code>$.fn.myPlugin = function () {
      //plugin code
  }
  </code></pre>
  
  <p>Normally, you call a plugin on a certain number of elements, like such:</p>
  
  <pre><code>$("body").myPlugin();
  </code></pre>
  
  <hr>
  
  <p>Is there any way I can call my plugin without specifying an element?</p>
  
  <p>I have tried calling it like such: <code>$.myPlugin();</code>, but that does not work.</p>
  
  <p>What works is this: <code>$().myPlugin();</code>, but is that the correct way to invoke it?</p>