Making a Behavior that adds a script after a component?

2008-09-05 Thread Pointbreak
I have a couple of behaviors that add javascript to the header of a document, to change attributes or add event scripts to components (using jquery onready, but that's not the point). This all works fine. There is just one problem: when I use such components in an ajax request/response, it won't

Re: Making a Behavior that adds a script after a component?

2008-09-05 Thread Matej Knopp
if you use renderOnDomReadyJavascript method of IHeaderResponse it will be invoked after ajax request. -Matej On Fri, Sep 5, 2008 at 3:41 PM, Pointbreak [EMAIL PROTECTED] wrote: I have a couple of behaviors that add javascript to the header of a document, to change attributes or add event

Re: Making a Behavior that adds a script after a component?

2008-09-05 Thread Pointbreak
Perfect. Thanks! On Fri, 5 Sep 2008 15:53:12 +0200, Matej Knopp [EMAIL PROTECTED] said: if you use renderOnDomReadyJavascript method of IHeaderResponse it will be invoked after ajax request. -Matej On Fri, Sep 5, 2008 at 3:41 PM, Pointbreak [EMAIL PROTECTED] wrote: I have a couple of