How can I add jQuery file in Drupal module?

0 votes
asked by (140 points)
edited by

Can I add a jQuery file with Drupal custom module? If yes, then how can it be possible?

1 Answer

0 votes
No avatar answered by (193k points)
edited by

Drupal already includes jQuery support. You will need to make use of the drupaladdjs function which is available. An in-depth guide using is available on the developer's website.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...