Looking for a hand on my jQuery and JS script
<p>What I have is in my fiddle here <a href="http://jsfiddle.net/mPuj9/4/" rel="nofollow">http://jsfiddle.net/mPuj9/4/</a> </p>

<p>What I tried to do is to disable the button until all of <code>textbox</code>es are filled and the <code>checkbox</code> is checked. My current code is not good, it let you submit in some cases and I don't know how to work it with the <code>checkbox</code>.</p>

<p><em><strong>CODE</em></strong></p>

<pre><code>$(document).ready(function() {
    $('.textfield').blur(function() {
        if ($.trim(this.value) == "") {
            $('#btnUpdate').attr("disabled", true);
        }
        else {
            $('#btnUpdate').removeAttr("disabled");
        }
    });
});

$(document).ready(function() {
    $('#termid').change(function() {
        var val = $(this).val();
        $('#reservationdetails').empty().addClass('loading').load('../kratisis/forms/' + val + '.php', function() {
            $('#reservationdetails').removeClass('loading')
        });
    });
});
</code></pre>
