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 )

Description

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

Note

This function can not be called statically.