users@woodstock.java.net

Calendar component and client side events

From: Rasha <rasha.abdallah_at_murex.com>
Date: Fri, 9 Nov 2007 00:35:09 -0800 (PST)

Hello,
I am trying to fire client side javascript when the value of the calendar
component changes.
However the provided onChange method will only fire the event if the user
"edits" the calendar field manually. And The onchange event does not fire
when the textfield value is changed programatically.

Now an alternative would be to fire the onchange event manually when the
user clicks on the calendar and picks a date. But the Calendar itself does
not expose events, it's only its textfield that does.

My question is, is there a way we can listen to events on the Calendar
itself (and not on the textfield associated with it)? i.e. is there a way to
set an "onClick" for example for the Calendar itself and not for its
textfield.

Thanks,
Rasha
-- 
View this message in context: http://www.nabble.com/Calendar-component-and-client-side-events-tf4776391.html#a13663113
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.