Example: AJAX
Same name in other branches
- 3.x modules/ajax_example/ajax_example.module \ajax_example
- 8.x-1.x ajax_example/ajax_example.module \ajax_example
- 7.x-1.x ajax_example/ajax_example.module \ajax_example
These examples show basic AJAX concepts.
General documentation is available at AJAX Framework documentation and at the AJAX Forms handbook page.
The several examples here demonstrate basic AJAX usage.
Parent topics
File
-
modules/
ajax_example/ ajax_example.module, line 8
Functions
Title Sort descending | File name | Summary |
---|---|---|
AjaxExampleController::renderLinkRenderableArray | modules/ |
Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class. |
Classes
Title Sort descending | File name | Summary |
---|---|---|
AjaxExampleMenuTest | modules/ |
Verify tool block menu items and operability of all our routes. |
AutoTextFields | modules/ |
Adds more text fields basing on AJAX-enabled checkbox clicks. |
DependentDropdownTest | modules/ |
Functional test of non-AJAX dependent dropdown example. |
DynamicFormSectionsTest | modules/ |
Functional test of non-AJAX dependent dropdown example. |
EntityAutocomplete | modules/ |
A simple autocomplete form which looks up usernames. |