Both .attr('disabled', 'disabled')and .attr('disabled', true)are working in my code, but I'm just wondering: which of the two is more effective and / or which is increasingly being used? Is there any difference? Maybe in terms of performance?
.attr('disabled', 'disabled')
.attr('disabled', true)
Irrelevant. But from jQuery1.6 + you should use$("input").prop('disabled', true);
$("input").prop('disabled', true);
$ startdate = date ('ym-d', strtotime ($ _ POST ['startdate'])); $ enddate = date ('ym-d', strtotime ($ _ POST ['enddate'])); to convert date to mysql database
date field in browser is different from firefox and chrome date in ui browser