On Wed, Feb 18, 2015 at 3:08 PM, avchavan <[email protected]>
wrote:

> i used this:
>
> @Override
>         public void renderHead(IHeaderResponse response) {
>           // add jQuery library
>
> response.render(CssHeaderItem.forUrl("//
> code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css"));
>
> response.render(JavaScriptHeaderItem.forUrl("//
> code.jquery.com/jquery-1.10.2.js"));
>

There is a newer version of jQuery. I think JQuery UI 1.11.x depends on
fixes in JQuery 1.11.x


>
> response.render(JavaScriptHeaderItem.forUrl("//
> code.jquery.com/ui/1.11.3/jquery-ui.js"));
>
>
> response.render(JavaScriptHeaderItem.forScript("$('#accordion').accordion();","onready-master"));
>

Use OnDomReadyHeaderItem.forScript() instead.


>         }
>
> but still no effect.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Jquery-methods-issue-with-wicket-6-13-tp4669599p4669603.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to