ajax.module

Events happening in the community are now at Drupal community events on www.drupal.org.
kaspar's picture

Triggering my JavaScript on Ajax.module events (success, error ... )

Hi,

I'm trying to trigger my JS function to be executed after successful form post in order to update some arbitrary container on page with the data.

I saw that there is "updaters" array in JSON response but I'm not sure how to fill it with data. Should I do that in the form definition array, or somewhere else. Do I maybe take wrong approach to this? I feel like I'm missing something :)

Is there maybe a link to detailed tutorial on using Ajax.module where I could get into more details?

Thanks for help,
Ivan

Read more
Subscribe with RSS Syndicate content