ajax.inc

Version 1.19 (checked in on 2009/11/22 at 02:48:37 by webchick)

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_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 and exit.
ajax_render_errorSend an error response back via AJAX and immediately exit.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.