1. 1.12.x includes/ajax.inc ajax_commands
  2. 1.10.x includes/ajax.inc ajax_commands
  3. 1.11.x includes/ajax.inc ajax_commands
  4. 1.7.x includes/ajax.inc ajax_commands

Functions to create various Ajax commands.

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

File

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

Functions

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