recurring dates with Javascript Jquery calendar

Posted on 2010-09-09
Medium Priority
Last Modified: 2012-05-10
Hello Experts,

I would highly appreciate it any help on this, please. I am in process to put a widget together which is a calendar. User clicks on any given date on the calendar, a function gets invoke and marks the click date and every 7th day on it. Any help or direction would highly be appreciate it. I am planning on using JQuery.

Thanks a lot.
Question by:combustion007
  • 2
LVL 18

Expert Comment

by:Jerry Miller
ID: 33644279
Have you looked at the jquery calendar plugins available? There may be something out there that can be modified to suit your needs.



Author Comment

ID: 33645744
Hello j,

Thanks for your help. Finking the plugins isn't a problem, I just need to have a sample of the code or direction to understand the process of generating the calendar which calculates the dates and shows the next event every 7th day.

Thanks a lot.

Accepted Solution

combustion007 earned 0 total points
ID: 33659151
Finally, I was able to write my own script to handle the needed functionality:

<script language="javascript" type="text/javascript">
      var iNum; //iNumber
      var dates = [];
      function showDate(pNum, pDate)
            for(var i = pNum; i < 9; i++)
                  alert(pDate + 10);
      var mDate = new Date();
      var curDay = mDate.getDay();
      var curMon = mDate.getMonth() + 1;
      var curDate = mDate.getDate();
      var curYear = mDate.getFullYear();
      var dObj = {};


Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question