ajax_example_graceful_degradation.inc

Version 1.9 (checked in on 2010-08-11 at 23:13:15 by rfay)

Demonstrations of AJAX with graceful degradation.

Functions

NameDescription
ajax_example_add_more
ajax_example_add_more_add_oneSubmit handler for the "add-one-more" button.
ajax_example_add_more_callbackCallback for both ajax-enabled buttons.
ajax_example_add_more_remove_oneSubmit handler for the "remove one" button.
ajax_example_add_more_submitFinal submit handler.
ajax_example_dependent_dropdown_degradesA form with a dropdown whose options are dependent on a choice made in a previous dropdown.
ajax_example_dependent_dropdown_degrades_first_callbackSelects just the second dropdown to be returned for re-rendering
ajax_example_dependent_dropdown_degrades_submitSubmit function for ajax_example_dependent_dropdown_degrades().
ajax_example_dynamic_sections
ajax_example_dynamic_sections_select_callbackCallback for the select element.
ajax_example_dynamic_sections_submitSubmit function for ajax_example_dynamic_sections().
ajax_example_dynamic_sections_validateValidation function for ajax_example_dynamic_sections().
ajax_example_wizardThis example is a classic wizard, where a different and sequential form is presented on each step of the form.
ajax_example_wizard_callback
ajax_example_wizard_submitSubmit function for ajax_example_wizard.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options