Ajax::setDisplay
Usage
void Ajax::setDisplay(string $divid, string $display)Description
Set the display attribute of an element (eg. block, visible, none, etc.)Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| $divid | Yes | string | The id of the element to change the display attribute on. |
| $display | Yes | string | The value to change the display attribute to. |
Examples
Set Display
$ajax->setDisplay('my_element', 'block');