Back

ADD Calendar DYN

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> $( function() { //$( ".form-control" ).datepicker(); $('body').on('click','.date_cal', function() { $(this).datepicker('destroy').datepicker({showOn:'focus',dateFormat: 'yy-mm-dd'}).focus(); }); }); </script>