Solved

recurring dates with Javascript Jquery calendar

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

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

785 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