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.

Class constructor (Previous) Gets the private name for the element (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.