[Kss-devel] Trigger onchange event on an input programattically

Hedley Roos hedley at upfrontsystems.co.za
Tue Mar 13 10:05:25 CET 2007


> Could you explain your use case with more details so that we can maybe help
> you ?
>

I have a form which I automatically save upon data entry into a field. 
The situation is similar to a calendar popup widget and a form field 
combo, except my widget does not pop up but renders inline. As soon as 
the user makes a selection on the selection widget my input is visually 
updated via KSS and a Python script (say foo.py), but then I also want 
to fire the change event on the input to persist the data.

I cannot just call the save code from foo.py since it is not supposed to 
have knowledge of the application using the widget.

Any ideas?


More information about the Kss-devel mailing list