Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 655375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:35:48+00:00 2026-05-13T22:35:48+00:00

I am using the jQuery Datepicker( http://keith-wood.name/datepick.html ). I am trying to let the

  • 0

I am using the jQuery Datepicker(http://keith-wood.name/datepick.html). I am trying to let the user pick a date from two separate ranges of days. I can’t find that feature in the documentation and I would like to know how to make that possible.

I want to let the user pick from 1-5 days after the current date. I also don’t want to allow the user to pick days on the weekend. I figured out how to do that using the following settings:

$("#rush_needed_by_english").datepick({
  minDate: +1,
  maxDate: +5,
  beforeShowDay: $.datepick.noWeekends
});

As it is now, if the current day is a Thursday for example, it will only allow the user to pick Friday,Monday, and Tuesday since it is set up to only allow 1-5 days after the current day to be selectable, but Saturday and Sunday are not selectable.

As far as my example is concerned, what I would like is to either skip the weekend days completely and make Friday and Monday-Thursday selectable. Or if that is not possible, I would like to set the two different ranges of days to pick from. So per my example, I would use javaScript to find the current day(Thursday), and then make two selectable ranges of dates(Friday AND Monday-Thursday).

How can I skip the weekend days so 5 days are selectable while skipping over the weekend days?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:35:49+00:00Added an answer on May 13, 2026 at 10:35 pm

    I figured out I can just extend the MaxDate by a certain number of days to simulate skipping over the weekend days. Mission Solved!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the jQuery Datepicker ( http://keith-wood.name/datepick.html ) with custom date range. My problem
I am using the jQuery datepicker( http://keith-wood.name/datepick.html ) and I would like to set
I am trying to create two different sets of settings for datepicker( http://keith-wood.name/datepick.html )
I'm using the JQuery DatePicker to have the user pick a date and have
I'm using the jQuery Date Picker plugin by Kelvin Luck ( http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ ) and
I am using the jquery datepicker ( http://jqueryui.com/demos/datepicker/ ). The datepicker on the demo
I'm using the jquery datepicker plugin to set a date field that is stored
I am using JQuery's UI datepicker: http://jqueryui.com/demos/datepicker/ implemented here: http://www.clients.eirestudio.net/old/ I want to use
I'm using jQuery UI, specifically Datepicker and Autocomplete, as follows: <script src=http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js></script> <link href=http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css
Hi i am using jquery-ui datepicker to select date and date.js to find difference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.