AJAX command for calling the jQuery html() method.
The 'insert/html' command instructs the client to use jQuery's html() method to set the HTML content of each element matched by the given selector while leaving the outer tags intact.
This command is implemented by Drupal.ajax.prototype.commands.insert() defined in misc/ajax.js.
Expanded class hierarchy of HtmlCommand
http://docs.jquery.com/Attributes/html#val
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InsertCommand:: |
protected | property | A CSS selector string. | |
InsertCommand:: |
protected | property | The HTML content that will replace the matched element(s). | |
InsertCommand:: |
protected | property | A settings array to be passed to any any attached JavaScript behavior. | |
HtmlCommand:: |
public | function |
Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides InsertCommand:: |
|
InsertCommand:: |
public | function | Constructs an InsertCommand object. |