By mandrake88 on
Hi!
I need to insert some javascript code into a basic page (Drupal 7), for example for show/hide some divs with jquery. Where i have to add the code?
Hi!
I need to insert some javascript code into a basic page (Drupal 7), for example for show/hide some divs with jquery. Where i have to add the code?
Comments
bump
bump
The best practice is create a
The best practice is create a separate javascript file called as custom.js and include the file from your template.php(or from your custom module using drupal_add_js). You can create as much of js files as per your business operations and they can be aggregated by using javascript aggregation at the time of production.