2 Replies Latest reply on May 23, 2010 1:22 PM by shasho

    integrating rich:suggestionbox with jquery

    shasho

      Hi,

       

      Facing problem integrating rich:suggestionbox with jquery. When adding some jquery scripts  the rich:suggestionbox stop calling the server

       

      Working

               <a4j:loadScript src="../resources/js/jquery-1.4.1.min.js"/>
                <a4j:loadScript src="../resources/js/jquery-ui.min.js"/>    
                <script type="text/javascript">
                    jQuery.noConflict();
                    // Code that uses other library's $ can follow here.
                  </script>

       

      Working

                     <script type="text/javascript" src="../resources/js/jquery-1.4.1.min.js"></script>
                   <script type="text/javascript" src="../resources/js/jquery-ui.min.js"></script>

                  <script type="text/javascript">
                     jQuery.noConflict();
                     // Code that uses other library's $ can follow here.
                   </script>

       

      NOT Working

                     <script  type="text/javascript"  src="../resources/js/jquery-1.4.1.min.js"></script>
                    <script type="text/javascript"  src="../resources/js/jquery-ui.min.js"></script>

       

           OR

       

                <a4j:loadScript  src="../resources/js/jquery-1.4.1.min.js"/>
                 <a4j:loadScript src="../resources/js/jquery-ui.min.js"/>  

       

      NOT Working in any variation when adding jquery.selectbox3 (http://github.com/sko77sun/Stylish-Select)

      for example,

       

                <a4j:loadScript  src="../resources/js/jquery-1.4.1.min.js"/>
                 <a4j:loadScript src="../resources/js/jquery-ui.min.js"/>    

                <a4j:loadScript src="../resources/js/jquery.selectbox3.js"/>

                <script type="text/javascript">
                     jQuery.noConflict();
                     // Code that uses other library's $ can follow here.
                   </script>

       

      Using ver 3.3.3