Add jquery css in your header (view)
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
Add jquery js in yoyr footer (view – body tags)
<script> $(function() { $( "#datepicker" ).datepicker(); }); </script>
Edit your forms
{!! Form::text('date', '', array('id' => 'datepicker','class' => 'form-control')) !!}
Reference: Laracast
Leave a Reply