document.onkeydown = function (event) {console.log(event)}
if (document.activeElement.id === 'txtEndTime') {
$('#txtEndTime').val('');
} else if (document.activeElement.id === 'txtStartTime') {
$('#txtStartTime').val('');
}