If I have this code:
click
You use: .getAttribute('isred')
.getAttribute('isred')
You want:
click click