Ajax framework commands

Functions to create various Ajax commands.

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

Functions & methods

NameLocationDescription
ajax_command_afterincludes/ajax.incCreates a Drupal Ajax 'insert/after' command.
ajax_command_alertincludes/ajax.incCreates a Drupal Ajax 'alert' command.
ajax_command_appendincludes/ajax.incCreates a Drupal Ajax 'insert/append' command.
ajax_command_beforeincludes/ajax.incCreates a Drupal Ajax 'insert/before' command.
ajax_command_changedincludes/ajax.incCreates a Drupal Ajax 'changed' command.
ajax_command_cssincludes/ajax.incCreates a Drupal Ajax 'css' command.
ajax_command_dataincludes/ajax.incCreates a Drupal Ajax 'data' command.
ajax_command_htmlincludes/ajax.incCreates a Drupal Ajax 'insert/html' command.
ajax_command_insertincludes/ajax.incCreates a Drupal Ajax 'insert' command using the method in #ajax['method'].
ajax_command_invokeincludes/ajax.incCreates a Drupal Ajax 'invoke' command.
ajax_command_prependincludes/ajax.incCreates a Drupal Ajax 'insert/prepend' command.
ajax_command_removeincludes/ajax.incCreates a Drupal Ajax 'remove' command.
ajax_command_replaceincludes/ajax.incCreates a Drupal Ajax 'insert/replaceWith' command.
ajax_command_restripeincludes/ajax.incCreates a Drupal Ajax 'restripe' command.
ajax_command_settingsincludes/ajax.incCreates a Drupal Ajax 'settings' command.

File

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