I create fields dynamically after button click. The fields contain color picker and time picker - but when the controls open you cannot select from them. Although both color picker and time picker are working fine in the non-dynamic part of the page.
I think the jQuery/javascript cannot see the dynamic part.
I could use some help.
This is the function that creates the new row:
function addNewActinity(tt, day) {
debugger
var div = $("<tr />");
var rows = $('#TextBoxContainer tr').length;
$('#activitiesRow').clone().attr('id', 'activitiesRow' + rows).show()
.appendTo('#TextBoxContainer')
.find('input').attr('class', 'myDatepicker').datepicker({
format: 'hh:mm',
ignoreReadonly: true,
allowInputToggle: true})
}