EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
January 16, 2026, 08:27:18 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
datepicker datebox disable date
Pages: [
1
]
« previous
next »
Print
Author
Topic: datepicker datebox disable date (Read 11660 times)
jaimi
Full Member
Posts: 121
datepicker datebox disable date
«
on:
August 03, 2025, 08:39:23 PM »
How can I disable date fields in the datebox?
can you give me an example?
Logged
jarry
Administrator
Hero Member
Posts: 2305
Re: datepicker datebox disable date
«
Reply #1 on:
August 11, 2025, 11:05:46 PM »
This code shows how to disable some date fields(only Monday can be selected).
Code:
$('#dd').datebox().datebox('calendar').calendar({
validator: function (date) {
if (date.getDay() == 1) { return true; }
else { return false; }
}
})
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...