Bootstrap datepicker : How to call a delphi procedure when a date is picked?

On the create event of the form I intialize the datepicker:
asm
$(function () {
// INITIALIZE DATEPICKER
$('.datepicker').datepicker({
clearBtn: true,
autoclose: true,
todayHighlight: true,
weekStart: 1,
format: "dd-mm-yyyy" ,
startDate: '-0'
}).datepicker('update', new Date());

      $('.datepicker').on('change', function () {
          var pickedDate = $('input').val();
         **//Here I need a call to a delphi procedure**
      });
  });

end;

How to call a delphi procedure on the onchange event of this datepicker?
For example the procedure:
procedure TForm1.mychange(datuminfo:string);
begin
showmessage('date changed to: ' + datuminfo);
end;

Depends from where this code is called.
If it is within the scope of a class, you could call a class method by
this.ClassMethod()