I have a need to set the value of the DateTimePicker control via javascript.
After a bit of research I came up with this:
But this does not work. I think I need some help, could someoen point me in the right direction please?
After a bit of research I came up with this:
function setDate() { var picker = $find('<%= dtStart.ClientID %>'); var picker2 = $find('<%= dtEnd.ClientID %>'); picker2.set_selectedDate = picker.get_selectedDate;}But this does not work. I think I need some help, could someoen point me in the right direction please?