Judy is a small Javascript utilities library.

Highlights

  • set/get value of all kinds of fields ­ - including Drupal list fields like checkboxes and radios
  • qualified keydown/keyup event handlers ­ ~ Judy.keydown(document.documentElement, 'ctr+s cmd+s', someSaveHandler);
  • an overlay method, and a jQuery UI Dialog wrapper
  • ajaxcomplete event: trigger an event on an element - jQuery().on() style - upon an AJAX response having a particular URL

Include on demand

In form: $form['#attached']['library'][] = array('judy', 'judy');
In non-form page: drupal_add_library('judy', 'judy');

Documentation

jsDoc of all methods and attributes.

Project information

Releases