Found the answer IHeaderResponse.renderOnDomReadyJavascript()
regards Taha On Sat, May 2, 2009 at 11:45 AM, taha siddiqi <tawushaf...@gmail.com> 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 script. > > I have added an IHeaderContributor which contributes using > TextTemplateHeaderContributor.forJavaScript. > > The script is uploaded on dom ready. Actually using jQuery $(function(){} > > Thanks in advance > Taha > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org