Dialog

Attaching behaviors to ajax button in JSON outputted form

As great as Drupal is, there are certain occassions when the power of Drupal is not documented well enough. During the course of our module development, we ran into an issue where we wanted to load an ajax form in a dialog which was being outputted via json.

Ajax Form