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
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