Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

recurring dates with Javascript Jquery calendar

Posted on 2010-09-09
3
Medium Priority
?
979 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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 article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
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.
Suggested Courses

610 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