Skip to content

davidtsuji/sg-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sgDatePicker [data-sg-date-picker]

A markup controlled date picker without having to write any JavaScript. All you have to do is place a data attribute on an :input element.

Example

the date format defaults to dd/mm/yyyy <input type="text" data-sg-date-picker="">

use a custom date format *must be compliant with jQuery UI's dateFormat <input type="text" data-sg-date-picker='{ "dateFormat":"yy/mm/dd" }'>

Installation

<script src="sg-date-picker.min.js"></script>

Requirements

  1. jQuery 1.7.2
  2. jQuery UI 1.8.21 / DatePicker
  3. jQuery UI theme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published