Vorbly <Code>
CODING MADE EASY WITH VORBLY
WIX DATEPICKER DISABLE DAYS OF WEEK
Starting a booking website? This tutorial will show you how to disable certain days of the week from your Wix Datepicker. We will provide you with the webpage elements and sample codes required to implement this feature.
THE DEMO
THE ELEMENTS
The Page
Datepicker Element: #datePicker1
THE CODE
Page Code
$w.onReady(function () {
$w("#datePicker1").disabledDaysOfWeek = [1, 2, 3];
});
//For Reference
// Monday : 1
// Tuesday : 2
// Wednesday : 3
// Thursday : 4
// Friday : 5
// Saturday : 6
// Sunday : 0
COMMENTS
I'm a paragraph. Click here to add your own text and edit me. It's easy.