Deleting entry in input
<p>This is my code:</p>

<pre><code>$('#enterTags').keydown(function(event) {
    var tag = $(this).val();
    // 188 is comma, 13 is enter
    if (event.which === 188 || event.which === 13) {
        if (tag) {
            $('#falseInput').val($('#falseInput').val() + tag + ', ');
            $(this).val('');
        }
        event.preventDefault();
    }
    // 8 is backspace
    else if (event.which == 8) {
        if (!tag) {
            event.preventDefault();
        }
    }
});
</code></pre>

<p>The problem I am having now is when a user presses backspace, I need it to clear #falseInput of the most recent "tag" var I entered in #enterTags.  How can I do this?</p>
