john_hollings
asked on
JavaScript Calendar Popup
Hi,
I have been working on a event form for a colleague of mine that the company I work for will be hosting. I have managed with the assistance of experts here at expert-exchange to get the form working with a fair bit of JavaScript, however I have noticed a slight issue with some script I found on the Internet which provides a JavaScript popup calendar which opens in a div. The calendar works fine and looks great and does exactly what I want it to do.
The problem is one of my fields is date of birth and the calendar only starts from 2007 and ends at 2011. I have looked at the JavaScript and found some reference to the start year offset and changes it from 2 to 120. The issue with this is it displays 120 years + and - of the current year. This is no good for me all I wanted it to do is go back 120 years and remain 2 years + of the current year.
I have uploaded the JavaScript file and was wondering if there is anything I missing. I would really appreciate any assistance with this as it's the last little issue I have.
CalendarPopup.js.txt
I have been working on a event form for a colleague of mine that the company I work for will be hosting. I have managed with the assistance of experts here at expert-exchange to get the form working with a fair bit of JavaScript, however I have noticed a slight issue with some script I found on the Internet which provides a JavaScript popup calendar which opens in a div. The calendar works fine and looks great and does exactly what I want it to do.
The problem is one of my fields is date of birth and the calendar only starts from 2007 and ends at 2011. I have looked at the JavaScript and found some reference to the start year offset and changes it from 2 to 120. The issue with this is it displays 120 years + and - of the current year. This is no good for me all I wanted it to do is go back 120 years and remain 2 years + of the current year.
I have uploaded the JavaScript file and was wondering if there is anything I missing. I would really appreciate any assistance with this as it's the last little issue I have.
CalendarPopup.js.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER