Demonstrations of AJAX with graceful degradation.

File

modules/examples/ajax_example/ajax_example_graceful_degradation.inc

Functions

Namesort descending Description
ajax_example_add_more Form with 'add more' and 'remove' buttons.
ajax_example_add_more_add_one Submit handler for the "add-one-more" button.
ajax_example_add_more_callback Callback for both ajax-enabled buttons.
ajax_example_add_more_remove_one Submit handler for the "remove one" button.
ajax_example_add_more_submit Final submit handler.
ajax_example_dependent_dropdown_degrades Dropdown form based on previous choices.
ajax_example_dependent_dropdown_degrades_first_callback Selects just the second dropdown to be returned for re-rendering.
ajax_example_dependent_dropdown_degrades_submit Submit function for ajax_example_dependent_dropdown_degrades().
ajax_example_dynamic_sections Dynamically-enabled form with graceful no-JavaScript degradation.
ajax_example_dynamic_sections_select_callback Callback for the select element.
ajax_example_dynamic_sections_submit Submit function for ajax_example_dynamic_sections().
ajax_example_dynamic_sections_validate Validation function for ajax_example_dynamic_sections().
ajax_example_wizard Wizard form.
ajax_example_wizard_callback Wizard callback function.
ajax_example_wizard_submit Submit function for ajax_example_wizard.