Its working fine.
Ive got it in a JSfiddle and was trying to test each day by giving the dt variable a date value.
Im not getting the adjustment in the picker.
Regarding the element ID. I'm trying to implement a datepicker in a hosted ecommerce platform. I cant get full access to the code, but by creating an input with a value of EnterDate, I was thinking of identifying by that value. Its not ideal, but it sort of works.
Thanks for the tips also on my bad habits. I'll keep an eye on it.
Again, any help would be grateful.