Re: Does javascript:onload get executed on each ajax update ?

2009-05-02 Thread taha siddiqi
Found the answer IHeaderResponse.renderOnDomReadyJavascript() regards Taha On Sat, May 2, 2009 at 11:45 AM, taha siddiqi wrote: > Hi All, > > I have to execute some code every time a form gets loaded. When I load > the form in a non-ajax way it works but in an ajax call it fails to > run the sc

Does javascript:onload get executed on each ajax update ?

2009-05-01 Thread taha siddiqi
Hi All, I have to execute some code every time a form gets loaded. When I load the form in a non-ajax way it works but in an ajax call it fails to run the script. I have added an IHeaderContributor which contributes using TextTemplateHeaderContributor.forJavaScript. The script is uploaded on dom