HTML Help text

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2016 08:49 AM
Does anybody know of a way to make it so that HTML shows in the help test now that ServiceNow is escaping it? We obviously do not want to set glide.ui.escape_text to false. Just wondering if there are any other workarounds before we have to upgrade to Fuji Patch 12 Hot fix 1. We have tables setup to show what the different choices mean on a list collector.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2016 07:11 AM
Perfect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2016 08:28 AM
Hi Brian/Ricky,
I am in Geneva/UI 16 and the help text html is different so if it is a div tag that is holding the help text with a class of sc-help-text in your current version you might have to use either one of the code below within onLoad catalog client script. I have removed the regex as it works fine without that piece of code itself. Check this piece if you face any issues.
Using Prototypejs framework
$$("div.sc-help-text").each(function(item){
var textValue = item.innerText;
$(item).update(textValue);
});
or using jquery
$j("div.sc-help-text" ).each(function(index) {
var html = $j(this).text();
$j(this).html(html);
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2016 09:25 PM
Hi Venkat,
Both of these scripts working are working perfectly. I also work in Geneva.
Hi Brian,
I tried the script you posted above but it didn't work.
Thanks a lot both of you for helping me.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016 05:22 AM
After Switching to Helsinki I had to switch to the code under Using Prototypejs framework.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2016 02:00 PM
jquery method works. Thanks!