ajax.inc

Version 1.45 (checked in on 2011/02/19 at 00:09:09 by dries)

Functions for use with Drupal's Ajax framework.

Functions & methods

NameDescription
ajax_base_page_themeTheme callback for Ajax requests.
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_insertCreates a Drupal Ajax 'insert' command using the method in #ajax['method'].
ajax_command_invokeCreates a Drupal Ajax 'invoke' 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_prepare_responseConverts the return value of a page callback into an Ajax commands array.
ajax_pre_render_elementAdd Ajax information about an element to the page to communicate with JavaScript.
ajax_process_formForm element process callback to handle #ajax.
ajax_renderRender a commands array into JSON.