javascript - jQuery daterangepicker shows year as 0 or -1 -
hello having strange problem daterangepicker.
i load necessary javascript
files before </body>
tag.
here js files:
<script src="https://www.example.com/members/js/jquery/jquery-2.2.3.min.js"></script> <script src="https://www.example.com/members/js/bootstrap/bootstrap.min.js"></script> <script src="https://www.example.com/members/js/jquery/jquery-ui.min.js"></script> <script src="https://www.example.com/members/js/daterangepicker/moment.min.js"></script> <script src="https://www.example.com/members/js/daterangepicker/daterangepicker.js"></script> <script src="https://www.example.com/members/js/slimscroll/jquery.slimscroll.min.js"></script> <script src="https://www.example.com/members/js/icheck/icheck.min.js"></script> <script src="https://www.example.com/members/js/fastclick/fastclick.js"></script> <script src="https://www.example.com/members/js/app/app.min.js"></script> <script> $('#reservation1').daterangepicker({ singledatepicker: true, showdropdowns: true, dateformat: 'yyyy-mm-dd' }); $('#reservation2').daterangepicker({ singledatepicker: true, showdropdowns: true, dateformat: 'yyyy-mm-dd' }); $('#reservation3').daterangepicker({ singledatepicker: true, showdropdowns: true, dateformat: 'yyyy-mm-dd' }); </script>
and this:
shouldn't display current date? , shouldn't able choose years?
any highly appreciated!!!
Comments
Post a Comment