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 6817003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:59:41+00:00 2026-05-26T20:59:41+00:00

Here is the jsfiddle: http://jsfiddle.net/fDm2p/ Everything is in working order except towards the bottom

  • 0

Here is the jsfiddle: http://jsfiddle.net/fDm2p/
Everything is in working order except towards the bottom the month is not rolling over and displaying dates that obviously do not exist. Can someone please help me modify my existing code to get this to work? I am using the TD class as the “add number”

  • 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-26T20:59:42+00:00Added an answer on May 26, 2026 at 8:59 pm

    http://jsfiddle.net/fDm2p/2/

    $(document).ready(function() {
        $("#calcShptable td").each(function() {
            var theDate = new Date();
            var addNum = parseInt($(this).attr("class"));
    
            theDate.setDate(theDate.getDate()+addNum);
    
            myDate = (theDate.getMonth() + 1) + '/' + (theDate.getDate()) + '/' + theDate.getFullYear();
            $(document.createTextNode(myDate)).appendTo(this);
        });
    });
    

    Using setDate with a number that is too large will handle the rollover for you.

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

Sidebar

Related Questions

Demoed here: http://jsfiddle.net/dRtaR/2/ The label option of the Jquery UI button does not work.
The implementation is here: http://jsfiddle.net/chp8y/1/ If you hover over the first box, #1, you
my code here http://jsfiddle.net/GKZRU/14/ all js working properly, and add/remove css classes(checking this in
For example here http://jsfiddle.net/jitendravyas/5Wqn4/1/ I want to take <h1> over red area. How to
My friend gave the following code which is working awesome here http://jsfiddle.net/WVLE2/ I tried
jsFiddle here: http://jsfiddle.net/_mtr/uqMZJ/ Basically, a table with rows, only 10 or so are not
All of this is code is here: http://jsfiddle.net/yrgK8/ I have a news section which
Why isn't jQuery being applied to dynamically created elements? Here is jsFiddle: http://jsfiddle.net/Y5RuC/19/ When
Fiddle here: http://jsfiddle.net/cgweb87/r3NEX/ When you click on the h2, it slides the div up
See here: http://jsfiddle.net/cnJ6q/ I can't just add the border to the child element, it

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.