Ahah in drupal doesn't work at all

For some reason, ahah functionality has stopped working after updating the theme. I tried the simplest examples of aha, and it does not work. I also downloaded the ahah-helper module, and even the example does not work there.

I copied exactly every code that is in this link: http://drupalsn.com/learn-drupal/drupal-tutorials/getting-going-ahah-and-drupal-6

when I submit the ahah form - the page loads again without any other affects (the form is not actually submitted, form_submit is not called).

I don’t know where to start looking for a solution ....

I am using drupal 6.

+4
source share
1 answer

This is because you have a second version of jquery loaded with your theme. This either causes a conflict between jquery versions, or creates a jquery library that is incompatible with the core Drupal js.

As far as I know, the latest version of jquery that works with Drupal 6 is 1.3.2, which you can install using the jQuery update module . I read reports on how people get v1.4 and even v1.5 for work, but at the cost of some basic features like AHAH

+2
source

Source: https://habr.com/ru/post/1387925/


All Articles