Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

sdate.js

Controls for selection date.

Example

Demo

Usage

Add HTML:

<div>
	<select id="sdate-day"></select>
	<select id="sdate-month"></select>
	<select id="sdate-year"></select>
</div>
<script src="src/sdate.js"></script>

Init:

var picker = selectionDate(/* onChagen callback */, /* array of month names */);

Set date:

var date = new Date();

picker.setDate(date);

Who uses?


© 2016 Yauheni Pakala | MIT

About

Controls for selection date.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages