List Info

Thread: Re: Trigger onchange event on an input programattically




Re: Trigger onchange event on an input programattically
country flaguser name
United States
2007-03-13 04:41:37
Hedley Roos wrote:
>> 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.

I am not sure I understand this last sentence... do you mean
you are 
writing a widget, iow generic code that should not know
which other 
widget it collaborates with ?

> 
> Any ideas?



-- 
Godefroid Chapelle (aka __gotcha)- BubbleNet  http://bubblenet.be

_______________________________________________
Kss-devel mailing list
Kss-develcodespeak.net
http:
//codespeak.net/mailman/listinfo/kss-devel

Re: Trigger onchange event on an input programattically
country flaguser name
South Africa
2007-03-13 04:59:24
> I am not sure I understand this last sentence... do you
mean you are 
> writing a widget, iow generic code that should not know
which other 
> widget it collaborates with ?
Correct
_______________________________________________
Kss-devel mailing list
Kss-develcodespeak.net
http:
//codespeak.net/mailman/listinfo/kss-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )