1,130 thoughts on “Zebra_Datepicker, a lightweight datepicker jQuery plugin

  1. Steve

    In number 7. Is it possible to have the “end date” be the same as the “start date”? Example you choose monday for the start date and end date can equal monday and beyond. What would the direction value be? 1 is Tuesday and beyond but what would the value be for Monday and beyond.

    1. Stefan Gabos Post author

      As per documentation, that would be setting “direction” to

    1. Stefan Gabos Post author

      Look into the configuration options – there you are able to set the month/day names and their abbreviations

  2. David

    I have the “readonly_element” set to false, allowing users to type in dates. What I want to happen is the datepicker to change when the user types in a valid date. For example, if they type “02/02/2015” then the datepicker will display this date. Is this possible? Thanks in advance.

  3. Fatih Doğan

    Why my code doesnt work on the local?

    Zebra_DatePicker examples

    $(document).ready(function() {
    $(“.datepicker”).Zebra_DatePicker({ format: “d-m-y” });
    onSelect: function() {

  4. Sedat Tuğ

    Hi. How can I change date format dd-mm-yyyy. Also how can I disable past date from 01-01-2015? The date is showing 17-06-16 to me.

  5. Louis

    Hi Stefan.
    I really am enjoying working with this great Zebra Datepicker.

    My question is, how can I add this to dynamcally generated form inputs? I wasn’t sure how to set up a listener in jquery, as the dynamic inputs load after the rest of the page.

    Thanks for any help or resources.

  6. Mystery

    hi, How can I make it work on iPad. Looks like once it is open, it can’t be closed on just touching the screen around it. How can I close the calendar on button click

  7. Markus

    Hey Stefan,
    somewhere in the future, do you consider upgrade your great datepicker with an option to select multiple dates? For my project it is necessary to select severeal dates within a month or two, but not necessarily in a range.
    It would be great if selecting a range (by using the shift key) would nevertheless be possible.
    Not a very simple request, I know…

  8. Stephen Adelakun

    I love this plugin but I need to use it in a modal. It is always appearing behind the modal. What can I do to bring it to the top?

    1. Stephen Adelakun

      Hello Stefan, I have the joy to tell you that the plugin works on BS modal. I just downloaded the latest version and set the css z-index attribute to something above 1150 which is the value for BS modal. Thanks for giving us this great plugin.

  9. Edésio Gobetti Schemes Junior

    Hi, in some situations I need to hide de icon datepicker… Is it possible to hide it ?


Leave a Reply

Your email address will not be published. Required fields are marked *