How to change the field background colour through BR script

VIKAS MISHRA
Tera Contributor

How to change the field background colour through BR script, please suggest?

1 ACCEPTED SOLUTION

Abhay Kumar1
Giga Sage

@VIKAS MISHRA Best way is to use style by righ clicking on field and change style.

But doing through BR what i can think is you can manipulate document element by:

var label= document.getElementById('get id from html of that field label');
label.style.color = 'green';

Try this if helps.

View solution in original post

1 REPLY 1

Abhay Kumar1
Giga Sage

@VIKAS MISHRA Best way is to use style by righ clicking on field and change style.

But doing through BR what i can think is you can manipulate document element by:

var label= document.getElementById('get id from html of that field label');
label.style.color = 'green';

Try this if helps.