I want to disable the button for Specific dates only in jquery
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>DOM Example</title>
<script src="jquery-3.1.1.min.js"></script>
<script>
var thisDay = new Date().getDate();
function checkButton()
{
if (thisDay>=15 && thisDay<=16))
{
$("#add").prop("disabled", true);
}
printAlert();
}
function printAlert() {
window.alert('We are not accepting entries right now.');
}
</script>
</head>
<body>
<p id="firstParagraph">This is the first paragraph</p>
<button id="add">Button</button>
</body>
</html>