Ajax::setText

Usage

void Ajax::setText(string $divid, $text)

Description

Set the contents of a div element.

Parameters

Parameter Required Type Description
$divid Yes string The id of the element to change contents of.
$text Yes desc=

Examples

Set Text


$ajax->setText('my_sub_title', "The New Sub-Title to Replace Old One With");

See Also