- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 10:28 AM
How can we change the color of "Label" variable in Service catalog. i want to highlight the text in red.
Thanks.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 12:13 PM
Thanks everyone for your inputs.
Just tried this and its working..
var getLblParent= g_form.getElement('label_test').id.replace('sys_original.','');
var getLblElement = jQuery("label[for='"+getLblParent+"']").css('color','red');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 12:13 PM
Thanks everyone for your inputs.
Just tried this and its working..
var getLblParent= g_form.getElement('label_test').id.replace('sys_original.','');
var getLblElement = jQuery("label[for='"+getLblParent+"']").css('color','red');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 11:12 AM
This doesn't work for me. Give JavaScript browser error. How to achieve this?