isSelected
Overview
Use the isSelected command to determine whether a given <option> or <input> element of type checkbox or radio is selected.
The command returns true if the element is selected; otherwise, it returns false.
Use the isSelected command to determine whether a given <option> or <input> element of type checkbox or radio is selected.
The command returns true if the element is selected; otherwise, it returns false.