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
gurrolade..
datepicker making past dates unselectable/unclickable?
in
Using jQuery UI
•
11 years ago
Hi,
i was just wondering if anybody has found any support on how to handle past dates???
ideally i would like to have past dates be unselectable/unclickable... doesn't seem like it has a class or any means of targeting past dates?
1
Replies(4)
kbwood.au
Re: making past dates unselectable/unclickable?
11 years ago
If you mean via the jQuery UI Datepicker, then just set the
minDate
option:
$('#datepicker').datepicker({minDate: 0});
Leave a comment on kbwood.au's reply
gurrolade..
Re: making past dates unselectable/unclickable?
11 years ago
thanks... let me check it out...
Leave a comment on gurroladesign's reply
gurrolade..
Re: making past dates unselectable/unclickable?
11 years ago
and where do i set this option... i tried on the fucntion call btu not sure if its working?
// Calendar
$('#datepicker').datepicker({
minDate:0,
inline: true,
altField: "#alternate",
altFormat: "DD, d MM yy"
});
here's my demo
http://test.push.net/ggurrola/datepicker2.php
ideally allpast dates can be unselectable like in this demo
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/inlineDatePicker.html
Leave a comment on gurroladesign's reply
gurrolade..
Re: making past dates unselectable/unclickable?
11 years ago
cool!!! it works... jquery ui rocks!
here's another demo inside a modal window and using the jquiry ui accordion
http://test.push.net/ggurrola/launch-datepicker2.php
thanks again!
Leave a comment on gurroladesign'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 gurroladesign's question
Top
Reply
{"z8829133":[14737000003164228,14737000003168151,14737000003168155,14737000003168157],"z2953500":[14737000003165405]}
Statistics
4
Replies
8386
Views
0
Followers
Tags
Cancel
calendar
datepicker
Actions
Permalink
Related Posts
[jQuery] DatePicker / Calendar Prob...
calendar image for datepicker
Calendar Arrangement in Datepicker
Datepicker calendar animation direc...
Datepicker calendar format
DatePicker calendar width issue