[Kss-devel] triggering kss change event when writing to a text input with javascript

Hedley Roos hedley at upfrontsystems.co.za
Thu Jan 31 16:14:15 CET 2008


showJsCalendar is the js that creates and pops up the calendar. You must 
re-attach events after that function is called since older PloneAzax 
does not automatically attach events when new nodes are added to the DOM.

So somewhere you'll have 
onClick="showJsCalendar(theparams);kukit.setupEvents" on an input.

Then you have to define KSS to attach events to the calendar:

tr.daysrow td.day: click {}

You might need to get creative by setting a few hidden inputs with 
javascript.


More information about the Kss-devel mailing list