codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Datepicker settings

    6th August 2013

    Jquery Misc

    jquery icon

    ADD

    1. Datepicker.css in CSS folder
    2. Add


    3. Add Jquery call

    4. Add UI Call

    5. Add the class “datepicker” to the field.

    This is for default of 1973, 01, 01
    and show a year range of 1920 – 2013

    This is default for today

    This is from 30 days in advance of today

    To make it read only

    Dynamic year range

    Disable the navigation button prev and next in datepicker (css)

    Was this code snippet helpful?