Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
merumeci
Datepicker - How to disable Weekdays
in
Using jQuery UI
•
13 years ago
Hi everyone,
a simple question (for you
..)
How can I disable Sundays for the calendar in Datepicker?
Thank you
Bye
1
Replies(3)
fontzter
Re: Datepicker - How to disable Weekdays
13 years ago
$
(
"#dp"
)
.
datepicker
(
{
beforeShowDay
:
function
(
date
)
{
return
[
date
.
getDay
(
)
==
6
||
date
.
getDay
(
)
==
0
,
""
]
}
}
)
;
See code example here:
http://jsbin.com/oteva3/edit
Hth,
Dave
Leave a comment on fontzter's reply
machadoug
Re: Datepicker - How to disable Weekdays
9 years ago
Dear Dave,
Many thanks for your help.
Just for the record the jsbin code above is not working. I have updated using JSFiddle and the latest jQuery:
http://jsfiddle.net/machadoug/X325G/
All the best,
Doug
Leave a comment on machadoug's reply
Enmanuel ..
Re: Datepicker - How to disable Weekdays
8 years ago
I was working on a project recently and I found a way to disable specific day on jQuery UI Date Picker:
Disable Weekends and Specific Days
Leave a comment on Enmanuel Corvo's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to merumeci's question
Top
Reply
{"z3089593":[14737000000881743],"z29502973":[14737000004513003],"z41276110":[14737000005607265],"z3440042":[14737000000882088]}
Statistics
3
Replies
32926
Views
1
Followers
Tags
Cancel
datepicker disable weekdays
jquery ui datepicker
Actions
Permalink