Changing the color of a text

Hi, I want my text change if the answer is true …I have the following line but it doesnot work ? any help ?


_root["sonuc"+i].htmlText='<font color="red">good job</font>';