Datepicker

Default
Preset day
Any date formats
Calendar controllable

Event binding

Default
Preset day
Any date formats
Calendar controllable
Declarative style

                <div class="input-control text" data-role="datepicker">
                    <input type="text">
                    <button class="button"><span class="mif-calendar"></span></button>
                </div>
            
Javascript style

                <div class="input-control text" id="datepicker">
                    <input type="text">
                    <button class="button"><span class="mif-calendar"></span></button>
                </div>

                <script>
                    $(function(){
                        $("#datepicker").datepicker();
                    });
                </script>