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

    Apexcharts not re-render after ajax call - Solved

    Redirect http to https in codeigniter