Error message
You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).Ajax framework 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 816
Functions
Title Sort descending | File name | Summary |
---|---|---|
ajax_command_add_css | includes/ |
Creates a Drupal Ajax 'add_css' command. |
ajax_command_after | includes/ |
Creates a Drupal Ajax 'insert/after' command. |
ajax_command_alert | includes/ |
Creates a Drupal Ajax 'alert' command. |
ajax_command_append | includes/ |
Creates a Drupal Ajax 'insert/append' command. |
ajax_command_before | includes/ |
Creates a Drupal Ajax 'insert/before' command. |
ajax_command_changed | includes/ |
Creates a Drupal Ajax 'changed' command. |
ajax_command_css | includes/ |
Creates a Drupal Ajax 'css' command. |
ajax_command_data | includes/ |
Creates a Drupal Ajax 'data' command. |
ajax_command_html | includes/ |
Creates a Drupal Ajax 'insert/html' command. |
ajax_command_insert | includes/ |
Creates a Drupal Ajax 'insert' command using the method in #ajax['method']. |
ajax_command_invoke | includes/ |
Creates a Drupal Ajax 'invoke' command. |
ajax_command_prepend | includes/ |
Creates a Drupal Ajax 'insert/prepend' command. |
ajax_command_remove | includes/ |
Creates a Drupal Ajax 'remove' command. |
ajax_command_replace | includes/ |
Creates a Drupal Ajax 'insert/replaceWith' command. |
ajax_command_restripe | includes/ |
Creates a Drupal Ajax 'restripe' command. |
ajax_command_settings | includes/ |
Creates a Drupal Ajax 'settings' command. |
ajax_command_update_build_id | includes/ |
Creates a Drupal Ajax 'update_build_id' command. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.