How to remove disable attribute from button when user types all info in input and checked checkbox?
<p>How to remove disable attribute from button when user types all info in input and checked checkbox?</p>

<p>My try:</p>

<p>FULL CODE: <a href="http://jsfiddle.net/7zMRM/1/" rel="nofollow">http://jsfiddle.net/7zMRM/1/</a></p>

<pre><code>$('#id_accept').click(function(){
    if($('#id_accept:checked').length == 1 &amp;&amp; $('#id_blz').length == 8 &amp;&amp; $('#id_account_owner').length &gt; 3 &amp;&amp; $('#id_account_number').length == 22 &amp;&amp; $('#id_bank_name').length &gt; 3){

        $('#open').removeAttr('disabled');
        $('#open').attr('onclick','javascript:yourFunctionName();');
    }
    else{
        $('#open').removeAttr('onclick');
        $('#open').attr('disabled','disabled');

}
});
</code></pre>
