3 Replies Latest reply on Jul 15, 2008 7:12 AM by Mikael Andersson

    jQuery UI/Draggables Plugin Problem

    First Last Newbie

      Dear all,

      I tried to include JQuery UI/Draggables plugin to make a DIV draggable, but was greeted by error message, "draggable is not a function".

      <a4j:loadScript src="resource://jquery.js"/>
      <script type="text/javascript" src="/js/ui.mouse.js"></script>
      <script type="text/javascript" src="/js/ui.draggable.js"></script>
      <script type="text/javascript" src="/js/ui.draggable.ext.js"></script>
      
      <script type="text/javascript">
       jQuery(function() {
       jQuery("#tree").draggable();
       });
      </script>
      


      Does the plugins needed some modifications in order to have it work with the jQuery that comes with Richfaces? Many thanks!