The calendar coding is quite easy to understand... Thanks for the easy coding.
Can anyone send me the coding to convert the date format from dd/mm/yy into yy/mm/dd
Esta interesante el artículo pero tengo una duda: Y si deseo agregar varios inputs cada uno con su calendario en la misma página? Ya intenté cambiando los id pero no corre ... Muchas gracias por tu respuesta
Hi,
Thanks for tour awesome tutorial. I am designing a website for my final project. It is for a flight service and I am trying to implement 2 calendars on the page (one for arrival date and the other departure date). I have tried to implement your code and have instantiated it, however, only one works. Can you help me out, please?
I induced the above code in jsp page, the calendar worked well in IE and browser in eclipse, but in mozilla the calendar is displayed but i'm unable to select the date.
hey dis is vry awsum code nd wrkng fyn but i have a doubt-jow cn i get month as jan,feb.. written in output..i have changed d values in html code but still not getting the required output as- 12-AUG-2012
pop up calenderarvind kumar April 12, 2011 at 9:38 AM
sir, your are exellent.i hope in future you will be more helpful to us.thanks
java scriptNutan Sharma April 18, 2011 at 5:32 PM
when I put this code in my project it gives error, that Object expexted at html file setYear(this,'dob')
changejames May 27, 2011 at 3:05 PM
i want to change the format of it to month/day/year
could not assign that date to text boxdhanabal May 29, 2011 at 9:27 PM
the main one is cursor can move the over day numers,could not show hand symbol that mean on click event did not assigned to it,reply me sir
Thankszorigoo June 29, 2011 at 8:20 PM
More more
respondcredit loans September 24, 2011 at 5:57 PM
The business loans seem to be essential for people, which want to start their own organization. In fact, it is very easy to get a auto loan.
Hipravin January 17, 2012 at 5:23 PM
good calender
QuestionYoon Moe January 11, 2013 at 12:33 PM
how can do for 2013 to 2100 according to ascending?
How to make 2 calendar on a website?Duc Tung February 20, 2012 at 10:36 PM
If I want to make 2 calendar on a website to take to 2 difirent date string, I will need how to make?
Convert dd/mm/yy into yy/mm/ddRAMYA February 21, 2012 at 7:23 PM
The calendar coding is quite easy to understand... Thanks for the easy coding. Can anyone send me the coding to convert the date format from dd/mm/yy into yy/mm/dd
DudaGGGames March 12, 2012 at 4:15 AM
Esta interesante el artículo pero tengo una duda: Y si deseo agregar varios inputs cada uno con su calendario en la misma página? Ya intenté cambiando los id pero no corre ... Muchas gracias por tu respuesta
2 Calendar on the same pageMike March 13, 2012 at 7:48 PM
Hi, Thanks for tour awesome tutorial. I am designing a website for my final project. It is for a flight service and I am trying to implement 2 calendars on the page (one for arrival date and the other departure date). I have tried to implement your code and have instantiated it, however, only one works. Can you help me out, please?
codeambusher March 20, 2012 at 8:34 PM
awesome job
question regarding this codeHana March 26, 2012 at 11:27 AM
what if I need to change the years, start from current year 2012 till 2020, what should I change on that code
Regarding Error while combining this code with jspBhushan April 12, 2012 at 12:56 AM
thanx sir, for this code. but while attaching this code with jsp. the combine code is not able to run perfectly. it display the calender and close it very well. but unable to print date on selection of particular date. my jsp code is:- <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <%@ taglib prefix="tab" uri="http://ditchnet.org/jsp-tabs-taglib" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html> <head> <meta http-equiv="Content-Type" content="text/html;"> <title>Server Admin Panel</title> <link href="tpcss.css" rel="stylesheet" type="text/css" /> <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script> <script language="javaScript" type="text/javascript" src="calendar.js"></script> <link href="calendar.css" rel="stylesheet" type="text/css"> <script language="javascript"> function addDate(){ date = new Date(); var month = date.getMonth()+1; var day = date.getDate(); var year = date.getFullYear(); var hr=date.getHours(); var mini=date.getMinutes(); var sec=date.getSeconds(); var weekday=new Array(7); weekday[0]="Sunday"; weekday[1]="Monday"; weekday[2]="Tuesday"; weekday[3]="Wednesday"; weekday[4]="Thursday"; weekday[5]="Friday"; weekday[6]="Saturday"; var n = weekday[date.getDay()]; if (document.getElementById('date').value == ''){ document.getElementById('date').value =n+'-'+day + '/' + month + '/' + year; } } </script> <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" /> </head> <body onLoad="addDate();"> <form> <font class="middle-font" > Welcome to Wi-Fi Security</font> <div align="right">Today is:-<input type="text" id="date" class="alignclock" maxlength="80" style="width:300px"></div> </form> <form> <input type="text" name="datum1"><a href="#" onClick="setYears(2000, 2020); showCalender(this, 'datum1');"> <img src="calender.png"></a> </form> <!-- Calender Script --> <table id="calenderTable"> <tbody id="calenderTableHead"> <tr> <td colspan="4" align="center"> <select onChange="showCalenderBody(createCalender(document.getElementById('selectYear').value, this.selectedIndex, false));" id="selectMonth"> <option value="0">Jan</option> <option value="1">Feb</option> <option value="2">Mar</option> <option value="3">Apr</option> <option value="4">May</option> <option value="5">Jun</option> <option value="6">Jul</option> <option value="7">Aug</option> <option value="8">Sep</option> <option value="9">Oct</option> <option value="10">Nov</option> <option value="11">Dec</option> </select> </td> <td colspan="2" align="center"> <select onChange="showCalenderBody(createCalender(this.value, document.getElementById('selectMonth').selectedIndex, false));" id="selectYear"> </select> </td> <td align="center"> <a href="#" onClick="closeCalender();"><font color="#003333" size="+1">X</font></a> </td> </tr> </tbody> <tbody id="calenderTableDays"> <tr style=""> <td>Sun</td><td>Mon</td><td>Tue</td><td>Wed</td><td>Thu</td><td>Fri</td><td>Sat</td> </tr> </tbody> <tbody id="calender"></tbody> </table> <!-- End Calender Script --> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0">Login History</div> <div class="CollapsiblePanelContent"><font face="Times New Roman, Times, serif" size="4"><center><br />Please insert Date and Time for checking Login History of Specified Duration</center></font> <br /> <font class="textbx" style="position:fixed;left:310px;top:143px">Date <input type="text" id="datetxt" placeholder="Please Enter Date" size="20" style="position:fixed;left:350px;top:140px" /></font> <font class="textbx" style="position:fixed;left:550px;top:143px">Time <input type="text" id="hr1txt" size="20" style="position:fixed;left:600px;top:140px;width:30px;" /> <input type="text" id="mn1txt" size="20" style="position:fixed;left:640px;top:140px;width:30px;"/><font class="textbx" style="position:fixed;left:680px;top:143px"> To <input type="text" id="hr2txt" size="20" style="position:fixed;left:710px;top:140px;width:30px;" /> <input type="text" id="mn2txt" size="20" style="position:fixed;left:750px;top:140px;width:30px;" /></font></font> <input type="submit" id="logsearch" name="Search" value="Search" style="position:fixed;left:800px;top:135px;width:100px;height:30px" /> Content</div> </div> <div id="CollapsiblePanel2" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0">Find Students</div> <div class="CollapsiblePanelContent"> Content</div> </div> <div id="CollapsiblePanel3" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0">Current Login</div> <div class="CollapsiblePanelContent">Content</div> </div> <script type="text/javascript"> var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1"); var CollapsiblePanel2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel2", {contentIsOpen:false}); var CollapsiblePanel3 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3", {contentIsOpen:false}); </script> </body> </html> pls help to remove this problem
calendariqbal mulani May 31, 2012 at 5:35 PM
it's working very well.
Extending the yearbalavishnu June 4, 2012 at 3:50 PM
I want to extend the year till 2013. pls help me
Thankyou very muchbalavishnu June 4, 2012 at 4:55 PM
Its gr8.. I was looking for this for a long time :) Thx for ur help...
Java Script Code of Calendarvimlesh June 10, 2012 at 11:00 AM
this code is very good and easy to implement and understandable......nice.
calendarrishita July 6, 2012 at 10:48 PM
thanks a lot.
failed to work in mozillaspandana August 16, 2012 at 10:32 AM
I induced the above code in jsp page, the calendar worked well in IE and browser in eclipse, but in mozilla the calendar is displayed but i'm unable to select the date.
regarding month case in output of calendar...manisha garg August 22, 2012 at 2:32 PM
hey dis is vry awsum code nd wrkng fyn but i have a doubt-jow cn i get month as jan,feb.. written in output..i have changed d values in html code but still not getting the required output as- 12-AUG-2012
java scriptjaimin August 25, 2012 at 8:41 PM
post more java script
If the upper limit is increased to 2020Akshita September 18, 2012 at 1:18 AM
This is not working.
request for calender pickermanish November 3, 2012 at 3:32 PM
hi,i need php code for calender picker with textbox/dropdown list..can any one help me..? thanks in advance..
THANKSYOGESH MEHER April 3, 2013 at 12:49 PM
REALLY UR CODE IS VERY NICE,HELPFUL TO ME...THANK YOU,,,,
pertanyaanfitri ahmad April 25, 2013 at 2:40 PM
this is good website..it can help me to to my final project..
How to add another yearFrancis Appiah February 16, 2012 at 9:37 PM
Am here by asking how can add another year into the already year.
updating the calendarsimo rahouti August 1, 2012 at 6:56 PM
I want to update the year select, can you help me to do it please!
Post your Comment