Skip to main content

isElementSelected

Tells whether the given element is selected. Works for html elements that keep a selected state such as checkbox, radio.

isElementSelected(elemId)

Parameters#

  • elemId: The target element

Returns#

  • boolean indicating the result