[development] Drupal 7 - Input Field and Javascript Events

Carl Wiedemann carl.wiedemann at gmail.com
Thu Oct 27 15:45:29 UTC 2011


A better method of doing this is to specify JS event handlers via a separate
file in drupal_add_js() using Drupal.behaviors. I don't know of go-to
documentation for this off of the top of my head, but do some searching and
look at examples in other core modules.

Carl Wiedemann
Website design and development consulting
carl.wiedemann at gmail.com | skype: c4rlww
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20111027/9d2b3a54/attachment.html 


More information about the development mailing list