1 ajax_example_graceful_degradation.inc | ajax_example_add_more_callback($form, $form_state) |
Callback for both ajax-enabled buttons.
Selects and returns the fieldset with the names in it.
Related topics
File
- modules/
examples/ ajax_example/ ajax_example_graceful_degradation.inc, line 621 - Demonstrations of AJAX with graceful degradation.
Code
function ajax_example_add_more_callback($form, $form_state) {
return $form['names_fieldset'];
}