jquery datepicker change event

Developer from somewhere

$("#some-element").datepicker({dateFormat:"yy.mm.dd",onSelect: function(date) {
  // do something with selection
}});