ajax.inc

Version 1.26 (checked in on 2010/03/13 at 06:55:50 by dries)

Functions for use with Drupal's AJAX framework.

Functions

NameDescription
ajax_command_afterCreates a Drupal AJAX 'insert/after' command.
ajax_command_alertCreates a Drupal AJAX 'alert' command.
ajax_command_appendCreates a Drupal AJAX 'insert/append' command.
ajax_command_beforeCreates a Drupal AJAX 'insert/before' command.
ajax_command_changedCreates a Drupal AJAX 'changed' command.
ajax_command_cssCreates a Drupal AJAX 'css' command.
ajax_command_dataCreates a Drupal AJAX 'data' command.
ajax_command_htmlCreates a Drupal AJAX 'insert/html' command.
ajax_command_prependCreates a Drupal AJAX 'insert/prepend' command.
ajax_command_removeCreates a Drupal AJAX 'remove' command.
ajax_command_replaceCreates a Drupal AJAX 'insert/replaceWith' command.
ajax_command_restripeCreates a Drupal AJAX 'restripe' command.
ajax_command_settingsCreates a Drupal AJAX 'settings' command.
ajax_deliverPackage and send the result of a page callback to the browser as an AJAX response.
ajax_footerPerform end-of-AJAX-request tasks.
ajax_form_callbackMenu callback; handles AJAX requests for the #ajax Form API property.
ajax_get_formGet a form submitted via #ajax during an AJAX callback.
ajax_process_formAdd AJAX information about a form element to the page to communicate with JavaScript.
ajax_renderRender a commands array into JSON.