Check all fields together?
<p>There are three field. i want check each a of field if have value, show class <code>.koko</code>. if on all field not have value, hide class <code>.koko</code>.</p>

<p>How is it?</p>

<p>in the this code, each field is check separate but i want check all fields together:</p>

<pre><code>&lt;input type="text" name="ok" class="ko" value=""&gt;
&lt;input type="text" name="ok" class="ko" value=""&gt;
&lt;input type="text" name="ok" class="ko" value=""&gt;
&lt;div class="koko" style="display: none;"&gt;Hello, how are you?&lt;/div&gt;


$('.ko').live("keyup", function () {
    var $val = $(this).val();
    $('.koko').show();
    if ($val == '') {
        $('.koko').hide()
    }    
});
</code></pre>

<p><a href="http://jsfiddle.net/P8fMj/" rel="nofollow">DEMO</a></p>
