Running check on empty input type of text
<p>How would I run a check after a keypress function to see if an inputs value was empty so I can do another action.</p>

<p>For example.</p>

<pre><code>    $("input[name=amount]").keypress(function() {
        $("table[name=apply]").show();
    });
</code></pre>

<p>I want to hide the table if the user deletes all the keystrokes.</p>
