jquery table row selector based on user input
<p>How do I select rows depending on what's in an input box?
Here's what I have so far:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script src="http://www.google.com/jsapi"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
google.load("jquery", "1");
&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$(document).ready(function() {
    $('#btnFilter').keyup(function() {
        var myInput = $(this).val();
        $('tbody tr').hide();
        // I need to .show() all table rows that have a table cell with a value that begins with the input field.
        $('tr').something goes here.show();
    });
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form&gt;
    &lt;input id="btnFilter" name="btnFilter"&gt;
&lt;/form&gt;
&lt;table&gt;
    &lt;thead&gt;
        &lt;tr&gt;
            &lt;th&gt;Heading 1&lt;/th&gt;
            &lt;th&gt;Heading 2&lt;/th&gt;
        &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;A&lt;/td&gt;
            &lt;td&gt;X&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;ABC&lt;/td&gt;
            &lt;td&gt;D&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
