[Kss-devel] Binding events to runtime created nodes

Godefroid Chapelle gotcha at bubblenet.be
Fri Aug 24 15:53:16 CEST 2007


Hedley Roos wrote:
>> It is supposed to happen automagically...
>>
>> You do not need to do anything.
>>
> 
> I have a case where I make an ajax call, and the new content of 
> somenode.innerHTML needs KSS bindings for the events to fire.

Can you explain this use case ?

Are you doing it from a custom action ?


> 
> In fact I called setupEvents() incorrectly. Everything works perfectly now.

I woudl like to understand why you would need to call setupEvents 
yourself...

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



More information about the Kss-devel mailing list