<link rel=”stylesheet” href=”http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css&#8221; />
<script src=”http://code.jquery.com/jquery-1.8.3.js”></script&gt;
<script src=”http://code.jquery.com/ui/1.9.2/jquery-ui.js”></script&gt;

<script>
var j = jQuery.noConflict();
j(function() {
j( “#datepicker” ).datepicker();
});
</script>

HTML:- <input type=”text” id=”datepicker” />
Laravel:- {{Form::text(‘dob’, null,array(‘placeholder’ => ’01/04/1990′, ‘size’ => 70,  ‘id’ =>’datepicker’))}}

Note:- Please replace ` ` to ‘ ‘ before use

Advertisements