I believe that what you want and that when leaving the date field, the event is triggered. For this you can use the .focusout event that is triggered just as your element loses focus.
An example:
$('#dp1').focusout(function(){
//Coloque aqui o código que você precisa
});
Another event that can be used is .blur , the difference between .focusout and .blur is that blur is fired when the element loses focus, the .focusout is fired when the element, or any other element within it, loses focus.
I believe that .blur will apply to you better.
$('#dp1').blur(function(){
//Coloque aqui o código que você precisa
});