ajax_command_restripe
function ajax_command_restripe
ajax_command_restripe($selector)
Creates a Drupal Ajax 'restripe' command.
The 'restripe' command instructs the client to restripe a table. This is usually used after a table has been modified by a replace or append command.
This command is implemented by Drupal.ajax.prototype.commands.restripe() defined in misc/ajax.js.
Parameters
$selector: A jQuery selector string.
Return value
An array suitable for use with the ajax_render() function.
Related topics
File
- includes/ajax.inc, line 1266
- Functions for use with Drupal's Ajax framework.
Code
function ajax_command_restripe($selector) { return array( 'command' => 'restripe', 'selector' => $selector, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!ajax.inc/function/ajax_command_restripe/7.x