0

How to tell if Datebox picker is open

asked 2009-01-02 18:52:38 +0800

dastultz gravatar image dastultz
797 9

Hello, I have a case where I update other parts of my interface when the user changes the date. onChange is fired when the picker is used to change the year, month or pick the date. This is fine, but I don't want to update my interface until the user is "done" changing the date. IOW, when the picker window is finally closed. Is there some way to tell when the pop-up picker window is closed?

/Daryl

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-01-03 06:35:28 +0800

hideokidd gravatar image hideokidd
750 1 2

Hello,

onChange is not proper for your purpose,
because databox will change its text automatically no matter you select year, month or date.

I've tried other events, onSelection will do like onChange,
only onOK can approach your goal,
but you have to press enter to update other parts of your interface.
Add a button to trigger update event is another way, but it is still not automatically.

In databox API, you can search methods about calendar open/close, which will be the answer.

Thanks.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-02 18:52:38 +0800

Seen: 188 times

Last updated: Jan 03 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More