DatePicker
DatePicker copied to clipboard
V0.3 Problems encountered.
When datePicker is opening, I click somewhere(without date itself).I want to hide.
But date field is dynamically change(used to createElement
API).So If used parentNode
API, you can't get document
. At an early time, I think the date field how to bubble with document
. Use delegates event feature
?Use parentNode
without null find uppermost layer element?
I read other code and find use parentNode
is most common methods.For instance, freqdec/datePicker.