Posted by tomdiystro on February 10, 2012 at 11:24pm
I'm trying to add jquery to the header of my pages in Drupal 7.8. What's the best way to do this? Thanks.
I'm trying to add jquery to the header of my pages in Drupal 7.8. What's the best way to do this? Thanks.
Comments
It depends on the purpose, if
It depends on the purpose, if part of all pages and theme related you can add it to the scripts section of the theme's .info
Otherwise I would use a module, again if on all pages you can use the modules .info or if on select pages use drupal_add_js(), if part of form, the form API has a syntax for adding with the form.