Select first empty input fail
<p>Please see my example here: <a href="http://jsfiddle.net/MrTest/Y8d4f/" rel="nofollow">LIVE EXAMPLE</a></p>

<p>*<em>As you can notice, the focused on input is not the first empty one. What is wrong? *</em></p>

<p>jQuery Code:</p>

<pre><code>$(document).ready(function() {

$('.quick div input, .quick div textarea').live('focus', function() {
    var a = $(this).attr('id');
    var b = 'submit';

    $('.quick .focus').removeClass('focus');
    if (a == b) {
        return false;
    } else {
        $(this).parent().addClass('focus');
    }
});


  $('input:text[value=""]').focus(); // problematic line

});
</code></pre>
