OK. I'll try to be as specific as I can.
There are 2 files involved: layout1.blade.php and advancedsearch.blade.php.
The second one extends the first one. These are rather large and I can't put them all here.
In
of layout1.blade.php I have:
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
At the bottom I have:
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>
In advancedsearch.blade.php I have:
{!!Form::open()!!}
{!!Form::input('text', 'StartDate', ["id"=>"datepicker"])!!}
{!!Form::close()!!}
The result is that I see the input field, but when I click on it, nothing happens. And the little icon at the right of the input field is not shown either.
I'm quite sure that I didn't understand all the steps involved....