Functions to create various Ajax commands.

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

File

core/includes/ajax.inc, line 872
Functions for use with Backdrop's Ajax framework.

Functions

Namesort descending Location Description
ajax_command_add_css core/includes/ajax.inc Creates a Backdrop Ajax 'addCss' command.
ajax_command_after core/includes/ajax.inc Creates a Backdrop Ajax 'insert/after' command.
ajax_command_alert core/includes/ajax.inc Creates a Backdrop Ajax 'alert' command.
ajax_command_append core/includes/ajax.inc Creates a Backdrop Ajax 'insert/append' command.
ajax_command_before core/includes/ajax.inc Creates a Backdrop Ajax 'insert/before' command.
ajax_command_changed core/includes/ajax.inc Creates a Backdrop Ajax 'changed' command.
ajax_command_close_dialog core/includes/ajax.inc Provides an AJAX command to close an open dialog.
ajax_command_close_modal_dialog core/includes/ajax.inc Provides a shortcut command for closing a modal dialog.
ajax_command_css core/includes/ajax.inc Creates a Backdrop Ajax 'css' command.
ajax_command_data core/includes/ajax.inc Creates a Backdrop Ajax 'data' command.
ajax_command_html core/includes/ajax.inc Creates a Backdrop Ajax 'insert/html' command.
ajax_command_insert core/includes/ajax.inc Creates a Backdrop Ajax 'insert' command using the method in #ajax['method'].
ajax_command_invoke core/includes/ajax.inc Creates a Backdrop Ajax 'invoke' command.
ajax_command_open_dialog core/includes/ajax.inc Provides an AJAX command to open content in a dialog.
ajax_command_open_modal_dialog core/includes/ajax.inc Provides an AJAX command to open content in a modal dialog.
ajax_command_prepend core/includes/ajax.inc Creates a Backdrop Ajax 'insert/prepend' command.
ajax_command_redirect core/includes/ajax.inc Provides an AJAX command to set the window.location, loading that URL.
ajax_command_remove core/includes/ajax.inc Creates a Backdrop Ajax 'remove' command.
ajax_command_replace core/includes/ajax.inc Creates a Backdrop Ajax 'insert/replaceWith' command.
ajax_command_restripe core/includes/ajax.inc Creates a Backdrop Ajax 'restripe' command.
ajax_command_settings core/includes/ajax.inc Creates a Backdrop Ajax 'settings' command.
ajax_command_set_dialog_option core/includes/ajax.inc Provides an AJAX command that sets jQuery UI dialog properties.
ajax_command_set_dialog_title core/includes/ajax.inc Provides an AJAX command that sets a dialog title.
ajax_command_update_build_id core/includes/ajax.inc Creates a Backdrop Ajax 'update_build_id' command.