Functions to create various Ajax commands.
These functions can be used to create arrays for use with the ajax_render() function.
Functions & methods
| Name | Description |
|---|---|
| ajax_command_after | Creates a Drupal Ajax 'insert/after' command. |
| ajax_command_alert | Creates a Drupal Ajax 'alert' command. |
| ajax_command_append | Creates a Drupal Ajax 'insert/append' command. |
| ajax_command_before | Creates a Drupal Ajax 'insert/before' command. |
| ajax_command_changed | Creates a Drupal Ajax 'changed' command. |
| ajax_command_css | Creates a Drupal Ajax 'css' command. |
| ajax_command_data | Creates a Drupal Ajax 'data' command. |
| ajax_command_html | Creates a Drupal Ajax 'insert/html' command. |
| ajax_command_insert | Creates a Drupal Ajax 'insert' command using the method in #ajax['method']. |
| ajax_command_invoke | Creates a Drupal Ajax 'invoke' command. |
| ajax_command_prepend | Creates a Drupal Ajax 'insert/prepend' command. |
| ajax_command_remove | Creates a Drupal Ajax 'remove' command. |
| ajax_command_replace | Creates a Drupal Ajax 'insert/replaceWith' command. |
| ajax_command_restripe | Creates a Drupal Ajax 'restripe' command. |
| ajax_command_settings | Creates a Drupal Ajax 'settings' command. |
File
- includes/
ajax.inc, line 756 - Functions for use with Drupal's Ajax framework.