check Function

Checks or unchecks a checkbox or radio button.

Summary

ElementFunction
ReturnsObject

Arguments

valBooleanSet to "true" to set the element as checked. (default) false

Example

handler.check(true);