Solved

recurring dates with Javascript Jquery calendar

Posted on 2010-09-09
3
960 Views
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.
0
Comment
Question by:combustion007
  • 2
3 Comments
 
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.

http://www.webdesignbooth.com/9-useful-jquery-calendar-and-date-picker-plugins-for-web-designers/

http://arshaw.com/fullcalendar/
0
 

Author Comment

by:combustion007
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.
0
 

Accepted Solution

by:
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 = {};
      dObj.curDate;
      dObj.curMonth;
      dObj.curYear;
</script>


0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now