str.fontcolor in attribute customization javascript
Hi,
Good morning to all...
I have two attributes. 1 enumerated list yes/no and 1 message
When the user selects YES, I display message in attribute 2
I want the text of the message to be a color instead of black.
I have tried:
var result = str.fontcolor("red");
No matter where or how I put this it breaks the scripts. In testing I go to select YES and no message appears anymore.
Is this supported and if YES, how is the right way to do it?
Thank you,
Mike
One answer
I don' think it works that way. To change any CSS styles, you will change it for all the attributes of the same type, not just the one attribute that you think you have selected. For more details, see:
https://jazz.net/wiki/bin/view/Main/WebUITheming