using the date element, i want to disable the selection of Sunday's. i have read through the forums, etc. and tried a few versions of the js but have not had success.
here is my code, which makes sense to me but doesn't work (i'm not a js coder)
var result = false;
var d = new Date(date);
var n = d.getDay();
if (n != 0) {
result = true;
}
here is my code, which makes sense to me but doesn't work (i'm not a js coder)
var result = false;
var d = new Date(date);
var n = d.getDay();
if (n != 0) {
result = true;
}