Ivan: true, it definitely could conflict in such a case... but Esc key event could definitely be optional... right now I'm concentrating my efforts on the "click outside of the panel", that will cancel and hide the picker, and revert the text input to its original value... I've added the Esc key event but it's only a matter of 1 or 2 lines of code so...as I said, could definitely be an option... you make a valid point though! worth thinking about! I might just remove it altogether, still not sure :)
On Oct 13, 9:50 pm, "Iván N Paz" <[EMAIL PROTECTED]> wrote: > Hi SilverTab, I've been following your development.... > > Just one thing... Do you consider the ESC key would be a viable solution??? > > Take this scenario, for instance... > > You have a sort of window that pops-up (a div with content created > either by means of new Element(...) or XHR-loaded) that would > create/load a form, and that form uses your date picker... > > What if the "pseudo-window" already has ESC key bound to close it??? > Who would get the event first??? Doesnt this conlict with it??? > > Just a doubt.... ;-)
