Uncaught TypeError: Object [object Object] has no method 'submit'
<p>I'm getting the error "Uncaught TypeError: Object [object Object] has no method 'submit'" when I try to add ajaxSubmit to my form.</p>

<p>JQuery code:</p>

<pre><code>    $(document).ready(function() {
    var options = {
        beforeSubmit:  showRequest,
        success:       showResponse
    };

    $('#bform').submit(function() {
        $(this).ajaxSubmit(options);
        return false;
    });
});

function showRequest(formData, jqForm, options) {
    var queryString = $.param(formData);
    alert('About to submit: \n\n' + queryString);
    return true;
}

function showResponse(responseText, statusText, xhr, $form)  {
    alert('status: ' + statusText + '\n\nresponseText: \n' + responseText +
            '\n\nThe output div should have already been updated with the responseText.');
}
</code></pre>

<p>The form HTML:</p>

<pre><code>&lt;form id="bform" action="/rest/submit_byte" method="post"&gt;
    &lt;label for="submitted_byte"&gt;Submit a Byte:&lt;/label&gt;
    &lt;textarea id="submitted_byte" name="submitted_byte" style="margin: 2px; width: 385px; height: 201px;"&gt;&lt;/textarea&gt;
    &lt;input type="submit" id="submit_button" value="Submit" /&gt;
&lt;/form&gt;
</code></pre>
