Javascript prop('required', true) works but prop('required', false) doesn't?
<p>Why does the $('#select_embed') property get set to true, but not to false?  Instead, I tried removeAttribute('required'), but that didn't work either.</p>

<pre><code>&lt;script&gt;

    function showBundles(){
        if (document.getElementById("embed").checked){
            $('#div_embed_bundles').show('fast')
            $('#select_embed').prop('required',true);
        }
        else {
            $('#div_embed_bundles').hide('fast')
            $('#select_embed').prop('required',false);
        }
    }

&lt;/script&gt;
</code></pre>
