This seems like a reasonable approach for this. Perhaps you could do this a little more "idiomatically" with jQuery, as shown below:
$('#datePickerChild').children().first().datepicker();
Or even:
$('#datePickerChild > input:first').datepicker();
, , , , , . " " ( ), . , - :
$('.date-picker-container').children().first().datepicker();