Nick Lewis: Drupal.behaviors: The Two Step Secret To Unlocking Drupal's Javascript
Submitted by CMS Report on October 11, 2008 - 11:33pm
The hardest part about using drupal's javascript features is knowing where to begin: they remained an arcane mystery to me until today. After drinking a bit of whiskey, and studying how core was using Drupal.behavior, I learned it couldn't be simpler. If you don't know how to do this, take a moment:
Step 1: Invoke the javascript "hook": Drupal.Behaviors.$hook
read more

Post new comment