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