Ajax framework commands

Functions to create various Ajax commands.

These functions can be used to create arrays for use with the ajax_render() function.

File

drupal/core/includes/ajax.inc, line 679
Functions for use with Drupal's Ajax framework.

Functions

Namesort descending Location Description
ajax_command_add_css drupal/core/includes/ajax.inc Creates a Drupal Ajax 'add_css' command.
ajax_command_alert drupal/core/includes/ajax.inc Creates a Drupal Ajax 'alert' command.
ajax_command_append drupal/core/includes/ajax.inc Creates a Drupal Ajax 'insert/append' command.
ajax_command_changed drupal/core/includes/ajax.inc Creates a Drupal Ajax 'changed' command.
ajax_command_css drupal/core/includes/ajax.inc Creates a Drupal Ajax 'css' command.
ajax_command_insert drupal/core/includes/ajax.inc Creates a Drupal Ajax 'insert' command using the method in #ajax['method'].
ajax_command_prepend drupal/core/includes/ajax.inc Creates a Drupal Ajax 'insert/prepend' command.
ajax_command_remove drupal/core/includes/ajax.inc Creates a Drupal Ajax 'remove' command.
ajax_command_settings drupal/core/includes/ajax.inc Creates a Drupal Ajax 'settings' command.