Html5 Calendar
Set the restrictedDates property of the jqxCalendar. Author: http://jqwidgets.com
by jqwidgets
HTML
<script src="https://jqwidgets.com/jquery-widgets-demo/jqwidgets/globalization/globalize.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxCalendar'></div>
JavaScript
var restrictedDates = new Array();
var date = new Date();
date.setHours(0,0,0);
date.setDate(2);
var date2 = new Date();
date2.setHours(0,0,0);
date2.setDate(3);
restrictedDates.push(date);
restrictedDates.push(date2);
$("#jqxCalendar").jqxCalendar({
theme: 'energyblue',
width: '200px',
height: '200px',
restrictedDates: restrictedDates
});