[Kss-devel] triggering kss change event when writing to a text input with javascript
Hedley Roos
hedleyroos at gmail.com
Thu Jan 31 07:59:45 CET 2008
I assume this is with Plone 2.5.x and PloneAzax 1.1 (Plone 3 uses a
newer kss and works as far as I know).
The problem is that the Javascript that sets the inputs cannot trigger
new onChange events. I would try to hook a kss rule onto the calendar
popup widget. If each day in the calendar is a <div> then it should be
easy. My guess is that the calendar widget implements onChange on the
day-picker and then sets the inputs with Javascript. This Javascript
should execute before the ajax fires, which means you will be able to
read the date input values in your script.
I'll have a look at this later.
More information about the Kss-devel
mailing list