1 ajax.inc ajax_command_restripe($selector)

Creates a Backdrop 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 Backdrop.ajax.prototype.commands.restripe() defined in misc/ajax.js.


$selector: A jQuery selector string.

Return value

An array suitable for use with the ajax_render() function.:

Related topics


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


function ajax_command_restripe($selector) {
  return array(
    'command' => 'restripe',
    'selector' => $selector,