3 Replies Latest reply on Jun 4, 2009 7:11 PM by Nick Belaevski

    richfaces and jQuery

    Kostya Piterskiy Newbie

      I trying use jQuery plugin with jsf page

      <%@ page contentType="text/html;charset=UTF-8" language="java" %>
      <%@include file="/pages/common/taglibs.jsp" %>
       <a4j:loadScript src="/scripts/jquery-1.3.2.js"/>
       <a4j:loadScript src="/scripts/development-bundle/ui/ui.core.js"/>
       <a4j:loadScript src="/scripts/development-bundle/ui/ui.tabs.js"/>
       <script language="JavaScript">
       jQuery("#example > ul").tabs();
       <div id="example" class="ui-tabs">
       <li><a href="#fragment-1"><span>One</span></a></li>
       <li><a href="#fragment-2"><span>Two</span></a></li>
       <li><a href="#fragment-3"><span>Three</span></a></li>
       <div id="fragment-1">
       <div id="fragment-2">
       <div id="fragment-3">

      It's very simple code but it's not work. I don't understand what i doing wrong.