YearPicker
Contents
What is YearPicker
YearPicker.js is a lightweight yet configurable yearpicker for jQuery that makes it easy to select a year from a popup similar to the date picker. This plugin allows you to easily customaize the YearPicker the way you want it to.
Installation
Include the script yearpicker.js and Stylesheet yearpicker.css on the webpage
<link rel='stylesheet' href='yearpicker.css' /> <script src= 'yearpicker.js'></script>
Basic Usage
The basic use of yearpicker.js plugin with a related javascript code
Examples
Code
$(".yearpicker").yearpicker()
Events
YearPicker allows you to invokes a function like on value changed, onShow, onHide.
Examples
Selected Value
Code:
-
$(".yearpicker").yearpicker({ onChange : function(value){ // YOUR CODE COMES_HERE } });
Options
Property | Default | Description |
---|