Jquery checkbox issue
<p>I have a checkbox in a page and on page load it is unchecked. When the checkbox is being checked, the value TRUE is being passed correctly, though when the checkbox is remained unchecked on load of the page, the value FALSE is not being passed. I am using the following code to do this.</p>

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

$('#MemberCountryOptInchkbox').change(function(){

    if($(this).attr('checked')){
          $(this).val('TRUE');
     }else{
          $(this).val('FALSE');
     }

});
</code></pre>
