Sample Usage:
<input type="text" id="txtDate" onclick="fnPopUpCalendar(txtDate,txtDate,'dd/mm/yyyy')"/>

onclick="fnPopUpCalendar(ImageId,AssociatedTextBoxId, Format of display like 'dd/mm/yyyy')"
*ImageId - this is the Id of the Image control, If we have a image control next to the textbox , on click of which the calendar should appear. If no image available pass the textbox id.
*AssociatedTextBoxId - Id of the Textbox control which will receive the date selected by this control
*Format of display - The format the selected date should display as , it may be dd/mm/yy or mm/dd/yy or dd/mm/yyyy

Last edited Mar 23, 2010 at 8:05 AM by Y2KPRABU, version 1

Comments

No comments yet.