Date picker not working

proplink asked 6 years ago

with regards to my question this morning Pro datepicker not working i have posted the template index.html page used to http://phillipilic.com/datePicker.html


2acode pro answered 6 years ago

Hi, try to move the datepicker initialization after global scripts (jquery, mdb, ecc.).

<!-- JQuery -->
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.js"></script>
<script>
// Data Picker Initialization
$('.datepicker').pickadate();
</script>

proplink commented 6 years ago

Thanks that has worked


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: www
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: Yes