How do I access an input field text with jQuery?
<p>I am trying to use the typeWatch plugin for jQuery.  I have this javascript:</p>

<pre><code> &lt;script type="text/javascript"&gt;
 $(document).ready(function() {
   var options = {
        callback: function() { alert("a-ok!  " + $(this).text); },
        wait: 333,
        highlight: true,
        captureLength: 1
    }

    $("#customer").typeWatch(options);
 });
 &lt;/script&gt;
</code></pre>

<p>And my view's HTML has this:</p>

<pre><code> Method B: &lt;%= Html.TextBox("customer") %&gt;
</code></pre>

<p>With this test, if I type "ABC" in the textbox, I am expecting an alert to popup with "a-ok! ABC".  Instead the following shows up...</p>

<pre><code>a-ok!  function (F) {
    if (typeof F !== "object" &amp;&amp; F != null) {
        return this.empty().append((this[0] &amp;&amp; this[0].ownerDocument || 
               document).createTextNode(F));
    }
    var E = "";
    o.each(F || this, function () {o.each(this.childNodes, function () {
          if (this.nodeType != 8) {
             E += this.nodeType != 1 ? this.nodeValue : o.fn.text([this]);}});});
   return E;
}
</code></pre>

<p>I've tried changing the $(this).text to .val, and I've also tried referencing the input field more directly as $("#customer") but they yield similar results.  How can I access just the entered text?</p>
