jQuery .fn is saying "not a function"
<p>When I call this custom function</p>

<pre><code>$.fn.inputBoxHelper = function () {
    var args = arguments[0] || {};
    var matchingElem = $.grep(this, function (e) { return $(e).val() == $(e).attr('title'); });
    $(matchingElem).addClass(args.className);

    this.bind({
        focus: function(){
            if ($(this).val().trim() == $(this).attr('title')) { $(this).val(emptyString).removeClass('gray'); }
        },
        blur: function(){
            if ($(this).val().trim() == emptyString) { $(this).val($(this).attr('title')).addClass('gray'); }
        }
    });
    return this;
}
</code></pre>

<p>Like this</p>

<pre><code>$('input:text').inputBoxHelper({ className: 'gray' });
</code></pre>

<p>It gives me the error when I call it</p>

<pre><code>$("input:text,input:checkbox").inputBoxHelper is not a function
file:///D:/repository/scripts/script_tests/test.js
Line 20
</code></pre>

<p>Even when I change the function to just</p>

<pre><code>$.fn.inputBoxHelper = function () {return this;}
</code></pre>

<p>it does the same thing.  It seems to run fine and work correctly as all the functionality works on the input boxes but get the error.  Anyone have any ideas?</p>
