Remove html5 attribute required

Use this code
$('#exp_date').removeAttr('required');​​​​​
or if you want to use in javascript 
document.querySelector('#exp_date').required = false;

    Comments

    Popular posts from this blog

    Stop video playing when Bootstrap modal is closed