jQuery. Issue with checkbox check action
<p>Why this script:</p>

<pre><code>if ($('.applyrulles').is(':checked')) {                     
    $('.button').show(700);
} else {
    $('.button').hide();
} 
</code></pre>

<p>doesn't work with <code>.button</code>?</p>

<pre><code>&lt;div&gt;
    &lt;input name="applyrulles" type="checkbox" class="applyrulles"/&gt;
&lt;/div&gt;  

&lt;input type="submit" class="button" value="send"/&gt;
</code></pre>

<p>Sript hides <code>.button</code>, but doesn't show it when <code>.applyrulles</code> is checked.</p>
