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

  • Home
  • SEARCH
  • 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 8492955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:52:24+00:00 2026-06-10T22:52:24+00:00

I am attempting to identify a jQuery plugin that will display the a full

  • 0

I am attempting to identify a jQuery plugin that will display the a full month’s worth of dates length way’s (as below – the numbers reflect days of the month (weekday’s only).

-3 4 5 6 7- -10 11 12 13 14- -17 18 19 20 21- -24 25 26 27 28-

In theory this approach makes the day’s of the month’s columns – several peoples calendars could then be displayed underneath as rows. This is demonstrated below:

---------3 4 5 6 7- -10 11 12 13 14- -17 18 19 20 21- -24 25 26 27 28-
Person A X - - - -   -  -  -  X  -    -  -  -  X  X    -  -  -  -  -
Person B X X X - -   -  X  -  X  -    -  -  X  X  X    X  X  X  -  -

My question is “How can I achieve the above with jQuery? (I have queried Google in an attempt to find a suitable plugin – but I have been unable to identify one)”.

  • 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-06-10T22:52:25+00:00Added an answer on June 10, 2026 at 10:52 pm

    Well, lets get you started.

    (function($){
        var getWeekDaysInCurrentMonth = function(){
            // this will operate off of the current month
            // you can make the month an argument
            // and then d.setMonth(m)
    
            var d = new Date(), 
                daysInMonth = [], 
                currentDay;
    
            // go to first day of month
            d.setDate(1);
            var firstDay = d.getDate();
            // go to last day of month
            d.setDate(0);
            var lastDay = d.getDate();
    
            for (var i = firstDay; i <= lastDay; i++){
                d.setDate(i);
                // get the current day of the week in loop
                currentDay = d.getDay();
                // check not sunday or saturday
                if(currentDay !== 0 && currentDay !== 6)
                    daysInMonth.push(i);                
            }
            return daysInMonth;
        };
    
        console.log(getWeekDaysInCurrentMonth());
        // OUTPUT: [1, 2, 3, 6, 7, 8, 9, 10, 13, 
        //            14, 15, 16, 17, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31] 
    
    })(jQuery)​;​
    

    Your next step is to work this function into a jQuery plugin to output some tabular markup. You then will add configuration to your plugin that changes how the markup is displayed, what month is shown first, etc. If you peruse through some of my other jQuery answers you can find examples of creating jQuery plugins (or google).

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

Sidebar

Related Questions

Attempting to make a NSObject called 'Person' that will hold the login details for
I am simply attempting to get jquery to identify the first letter of a
I am attempting to identify the ether type of a packet that I am
I'm new to jquery and attempting to display text when hovering over a div.
Attempting to build a C# NPAPI plugin I have found a tutorial which describes
Not long ago I asked a question attempting to identify a certain unicode character
I'm attempting to send a piece of data through jQuery .ajax() to a PHP
I am attempting to identify when a sound has finished playing by using the
Ahoy Stack Overflow! This be mai first post... I'm attempting to identify users with
I'm coding a Java ME app and attempting to globally identify each phone using

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.