Bear Bibeault wrote:As getAttribute() returns an Object, you'll need to cast it to Boolean.
This
Gives same type of message:
Type mismatch: cannot convert from Object to Boolean
If I do
I get
The constructor Boolean(Object) is undefined
This does not cause errors but is it the correct way