HTML_QuickForm_advcheckbox::getOnclickJs()
HTML_QuickForm_advcheckbox::getOnclickJs() – Create the javascript for the onclick event
Synopsis
require_once 'HTML/QuickForm/advcheckbox.php';
string HTML_QuickForm_advcheckbox::getOnclickJs (
string $elementName
)
Описание
Create the javascript for the onclick event which will set the value of the hidden field.
Parameter
-
string
$elementName
-
The element name
Throws
throws no exceptions thrown
Замечание
This function can not be called statically.