Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 423 Bytes

Readme.md

File metadata and controls

23 lines (18 loc) · 423 Bytes

Date/Month picker example

Usage:

<script src="DateMonth.js"></script>
<script>
  $(function() {
    // Get current date value from input:
    var date = $("#datemonth input").val();

    // Pass the element to replace, name of the input, and date value:
    DateMonth('#datemonth', 'datemonth', date);
  });
</script>

Install & Run:

npm install
npm start
open http://localhost:3000