JQuery Magic with hook_form_alter in Drupal

There is not much tutorial on haha ​​in the Pro Drupal book, but I'm trying to start with something simple. I have two types of content: theme and tips and categories. Themes are the node help field in tips. Themes are organized into categories.

When filling out a hint form, I would like the category that should belong to the topic to appear in the div when the selected topic list is selected.

I found a jQuery tutorial, but curious how to use ahah in all of this.

+3
source share
2 answers

AHAH HTML . , , , , div.

Pro Drupal Development . 270. poof

http://www.drupalbook.com/files/PDD2ed_code.zip

, , . , poof , , "POOF", . .

+3

AHAH Drupal . Drupal 5 , Drupal 6 , , , Drupal 7.

Drupal 6, AHAH Helper module. AHAH JavaScript.

0

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


All Articles