client side events on Date input

We are using webmethods 712. In CAF, we have client side events for almost all input controls, but not for Date Input control. I want to write a javascript for “OnChange” for the Date Input field. How do I acheive that?

Thanks in Advance,

One option would be to use the control “Raise On Change” together with an “Async Command” (hidden or not). So you can trigger a server side action when the value changes.
If you just want to do some javascript, you can use the control “Custom Script”, listening to the event “onValueChange”.

hope this helps,