Just look through the Drupal source code of modules/system/ or something similar that implements drupal_add_js(). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20110823/10e39dab/attachment.html