Ajax::append
Usage
void Ajax::append(string $divid, string $html)Description
Append text to an existing div.Parameters
Parameter | Required | Type | Description |
---|---|---|---|
$divid | Yes | string | The id of the div element to append to. |
$html | Yes | string | Text to append to the div element. |
Examples
Append
$ajax->append('my_paragraph', "The red brown fox");