<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
"jqwidgets/styles/jqx.base.css"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
src
=
"scripts/jquery-1.11.1.min.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcore.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxdatetimeinput.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcalendar.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/globalization/globalize.js"
>
</
script
>
<
script
tyle
=
"text/javascript"
src
=
"jqwidgets/jqx-all.js"
></
script
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color:green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxCalendar restrictedDates Property
</
h3
>
<
div
id
=
'jqxcal'
></
div
>
</
center
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
var restrictedDates = new Array();
var date1 = new Date();
date1.setHours(0,0,0);
date1.setDate(12);
var date2 = new Date();
date2.setHours(0,0,0);
date2.setDate(16);
var date3 = new Date();
date3.setHours(0,0,0);
date3.setDate(18);
restrictedDates.push(date1);
restrictedDates.push(date2);
restrictedDates.push(date3);
$("#jqxcal").jqxCalendar({
width: '400px',
height: '300px',
restrictedDates: restrictedDates
});
});
</
script
>
</
body
>
</
html
>