Easier way to add methods to jQuery objects than .data()?
<p>I want to add a custom method to a specific jQuery object:</p>

<pre><code>$('#DOMelement').customFunc(param); // not a reality
</code></pre>

<p>Currently, I have:</p>

<pre><code>var customFunc = function(param) { 
    // do something special
}
$('#DOMelement').data('customFunc', customFunc);
</code></pre>

<p>Which I then call, like:</p>

<pre><code>var cF = $('#DOMelement').data('customFunc');
cF(param);
</code></pre>

<p>All of this works, but it's a pain. Is there a better solution? Other than writing an extensive plugin?</p>
