Disable/Enable input:date on checkbox click doen't work properly?
<p>I'm trying to disable the Date field on uncheck checkbox and vice-versa. </p>

<p><a href="http://jsfiddle.net/MyNameIsSakthi/ZKw9x/2/" rel="nofollow">http://jsfiddle.net/MyNameIsSakthi/ZKw9x/2/</a></p>

<p>Also this works differently in different browsers! </p>

<pre><code>$('#certExpiry').click(function(){
if($('#certExpiry').is(':checked')){
    alert('checked');
    $('#expiryDate').removeProp('disabled');
}
else
    alert('uncheck');
    $('#expiryDate').prop('disabled',true);
});
</code></pre>
