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