TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sai
NA
203
30.1k
Date Range for start and end dates
Dec 27 2017 4:53 AM
Hi friends,
can you please solve my issue.
Requriement:
==========
i have 2 jquery datepicker.
$("#startdate").datepicker({
format: 'dd/mm/yyyy',
autoclose: true,
todayHighlight: true
});
$("#enddate").datepicker({
format: 'dd/mm/yyyy',
autoclose: true,
todayHighlight: true,
});
Now the thing is if i choose startdate 12/Dec/2017 and enddate should be 13/dec/2017 or increase date .
but when i select enddate lessthan start date it should not allow.
Main thing is when i choose startdate 12/dec/2017 and enddate contains only 12 to end of that particular month days should be visible..before days should be disable..it doesn't allow to select the enddate like 11/dec/2017.
If i select any year,month and day for startend then immediately enddate should be greater only
it doesn't allow to select less date.
i.e 12/jan/2000 startdate
11/feb/2013 enddate }=>correct input
12/jan/2000 startdate
11/jan/2000 enddate }=>incorrectinput
i hope you understand my problem.
Please help me..
Regards
Reply
Answers (
3
)
How can I return date in Edit form?
Date picker is not showing