-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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.
Asked: 2009-01-02 18:52:38 +0800
Seen: 188 times
Last updated: Jan 03 '09