Judy

Component ID

1416624

Component name

Judy

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

16639

Component created

Component changed

Component body

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.