- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:02 AM
Hi All,
This is an UI Policy script.
I want to make the text KB article as BOLD. How can I do that?
Can anyone suggest.
Thanks,
Priya.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 01:47 AM
Hi
This isn't possible with a javascript alert since they don't accept any HTML input.
Note:- to make text bold is really a requirement, then Try writing a UI Page and call it in the place of the alert.You can make them BOLD(give what ever styles you want to give)
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 01:14 AM
Hi Priya,
Please try the below code:-
alert("Your previous text + [code]<b>KB article</b>[/code] + remaining text");
Please let me know if you have any question.
Thanks,
Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 01:47 AM
Hi
This isn't possible with a javascript alert since they don't accept any HTML input.
Note:- to make text bold is really a requirement, then Try writing a UI Page and call it in the place of the alert.You can make them BOLD(give what ever styles you want to give)
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 09:28 PM
Hi Priya,
Any update on this one.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2020 02:51 AM
Hi Priyanka,
I tried the below one, it is not working.
alert("Your previous text + [code]<b>KB article</b>[/code] + remaining text");
I think it will not with a javascript alert since they don't accept any HTML input.
Thanks everyone,
Priya.