.

JavaScript Calendar Script/Date Picker Widget

There are many javascript calendar widgets(or date pickers) out there - so I decided to make another one. Yes, I have a really bad case of 'Not-Invented-Here' syndrome...

Demo



Download the Code

Features

Disadvantages(or To Do List)

License

BSD, as always

Similar Scripts

Comments

Anonymous at 13 Mar, 2009 11:34
Hello, this is a good and useful script but it's not clear how to use it !
Reply to this.
starmizzle at 22 May, 2009 07:38
This is how to use it:

<html>
<head>
<script src="calendar.js" type="text/javascript"></script>
<link href="calendar.css" type="text/css" rel="stylesheet" />
</head>

<body>
<input type="text" name="date" id="date" />
<script type="text/javascript">
calendar.set("date");
</script>
</body>
</html>
Reply to this.
Anonymous at 26 May, 2009 05:43
Well done man !! I will try this code..
Reply to this.
Anonymous at 04 Jun, 2009 02:33
Hello,

Your date picker is great!

Can you tell me how to change the javascript so that the date format is mm-dd-yyyy?

Not a big deal, but if it is not a difficult change that would be great.

Thanks!
Reply to this.
Brian at 26 Jul, 2009 09:35
I've been running this on a live site for a while without any problems...while trying to convert to a Joomla site on localhost, I ran into a situation where clicking on the drop-down button for the month displayed not only the 12 months, but a large list of functions as well. Selecting any of the functions returned January as the current month but it seems a little strange. This was on Firefox 3.0.10 (Windows XP Home SP2), but I then reproduced it on Google Chrome (2.0.172.37) and Opera (2.0.172.37). IE 7.0 did the same thing (although Microsoft being Microsoft it looked a bit different. Just wondering if anyone else had seen this. I looked at the code and it appears to loop through the month_names and should be able to stop when it hits the end.
Reply to this.
Carol at 15 Dec, 2009 11:52
Did you find a solution? I've got the same issue.
Reply to this.
tedd at 16 Aug, 2009 07:46
Your calendar rocks -- nice job.

Cheers,

tedd
Reply to this.
Kevin at 26 Aug, 2009 11:40
Excellent - simple and sweet.
Reply to this.
Anonymous at 22 Oct, 2009 02:50
its not working with firefox
Reply to this.
Kittu at 15 Nov, 2009 11:19
this script works good,
i have a small doubt can i stop the date selection to the current date,
if so plz provide the script.
Reply to this.
Manoj at 09 Jan, 2010 01:41
Thanks a lot it work's

Thank you once again to give such a nice code.....


Reply to this.
Comment

Please dont enter you comments in this form - this is a fake form to confuse spamming bots. The next form is the real one.




Comment




Comment Formating : HTML tags a, strong, em, b, i, code, pre, p and br allowed. Other tags will be shown as code(< will become &lt;). Urls, Line breaks will be auto-formated.