Solved

recurring dates with Javascript Jquery calendar

Posted on 2010-09-09
3
963 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
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.

910 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

21 Experts available now in Live!

Get 1:1 Help Now