Skip to content

Calendar Function. Save the Calendar function as calendar.js add a div to the html script it should popup a calendar choose the date and the calendar will disappear with storing the date in a date field.

Notifications You must be signed in to change notification settings

daffodils12/javascript

Repository files navigation

javascript

A Simple Calendar UI for a date field.

Download the file calendar.js.

In order to use the calendar function in a html file with date field. add the following to your html file(Date_Field_with_Calendar_test.html).

<script src="calendar.js"></script>

add a div to the html file like this,

Example Date field with div calendar. Enter Birth Date :

it should popup a calendar when you click the glyphicon calendar.

choose the date and the calendar will disappear with storing the date in a date field id="birthdt".

Check the attached files with the examples and see if it works. Let me know if there are any issues.

About

Calendar Function. Save the Calendar function as calendar.js add a div to the html script it should popup a calendar choose the date and the calendar will disappear with storing the date in a date field.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published