Hi Martin,

Did the changes as you had said.

getting the following error: 
TypeError: $(...).accordion is not a function
$('#accordion').accordion();

@Override
        public void renderHead(IHeaderResponse response) {
          // add jQuery library

response.render(CssHeaderItem.forUrl("https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css";));

response.render(JavaScriptHeaderItem.forUrl("https://code.jquery.com/jquery-1.11.2.js";));

response.render(JavaScriptHeaderItem.forUrl("https://code.jquery.com/ui/1.11.3/jquery-ui.js";));

response.render(OnDomReadyHeaderItem.forScript("$('#accordion').accordion()"));
        }

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Jquery-methods-issue-with-wicket-6-13-tp4669599p4669609.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to