jQuery <function> is not a function
<p>I'm trying to create a simple text block that updates when 1 of 3 form fields is changed.</p>

<p>Here's my jQuery and it keep getting this error: <code>TypeError: $(...).updateTitlePrefix is not a function</code></p>

<p>Can anyone tell me what i'm doing wrong here?</p>

<pre><code>$ = jQuery.noConflict();

$(document).ready(function() {

    $('#dataEntryForm\:studyId').updateTitlePrefix();
    $('#dataEntryForm\:formNumberQualifier').updateTitlePrefix();
    $('#dataEntryForm\:formVersionNumber').updateTitlePrefix();
});

// updates the titlePrefix when either the study#, form# or form version are changed    
$.fn.updateTitlePrefix() = function() {
    $(this).change(function() {
        $('#dataEntryForm\:titlePrefix').text($('#dataEntryForm\:formNumberQualifier').text() + $('#dataEntryForm\:formVersionNumber').text() + $('#studyId').text())
    });
}
</code></pre>

<p>Not sure if this is relevant, but i'm on jquery 1.3.2 because this is a JSF project and that's what is included in the Richfaces library.</p>
