Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 481.1k

How to fix an unknown error on your JqueryUI?

Dec 10 2019 7:37 AM
Hi Team
 
I have unknown error on my DataPicker, it was working fine during the day. Until recently to some insteance it does not show any error from the browser. How can i fix such, below is my code for datepicker and jquery of it. 
 
 
 
<div class = "col-xl-10 col-lg-10 col-md-10 col-sm-12 col-16">
<div class="d-flex justify-content-start">
<div class="input-daterange input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="from" placeholder="startdate"/>
<span class="input-group-addon">To</span>
<input type="text" class= "input-sm form-control" placeholder="enddate"/>
</div>
</div>
</div>
<br>
 
// date functionality
$(document).ready(function(){
$('.input-daterange').datepicker({
dateFormat: "dd-mm-yy"
});
});
 

Answers (5)