I am trying to prevent users from selecting dates within the range specified by l1 and l2. However, my current method only disables the date 13.
var l1 = new Date("2019-07-13");
var l2 = new Date("2019-07-30");
this.flag = 0;
this.filter2 = function(date) {
var c = date.getDate();
for(i=l1.getDate();i<=l2.getDate();i++)
{
return c != i;
continue;
}
}