It is possible? because i've tried to include jquery ui library through drupal.org/project/jquery_ui module (followed instructions in readme.txt) but that library won't show up in source code. What's the problem?

Should i go for jquery_ui module or i can include that script through .info file?

Jquery ui version = "6.x-1.5" Downloaded jquery ui library 1.6

1 Answer 1


The correct way to include jQuery UI, from README.txt:

In your module, call the following function:


For example:

jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));
jquery_ui_add('ui.sortable');  // For a single file
  • i'm not using it for my own module. I want that library just for additional effects. Commented Dec 31, 2011 at 13:56
  • You can't just add this library without any module. From README.txt: "This module is more-or-less a utility module that should simply be required by other modules that depend on jQuery UI being available. It doesn't do anything on its own."
    – jcisio
    Commented Jan 1, 2012 at 4:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.