JavaScript in Drupal Modules and Themes

Obrazek użytkownika kw

A few words on how to do that in a proper way. I will finish this article soon and write 3 most important things according to JS in Drupal:

  1. How to add and where to add custom JS code
  2. once() - the key jQuery extension with AJAX in Drupal
  3. How to use AJAX in two way communication with module

comming soon :)