Text BOLD

Joshuu
Kilo Sage

Hi All,

This is an UI Policy script. 

find_real_file.png

I want to make the text KB article as BOLD. How can I do that?

Can anyone suggest.

Thanks,

Priya.

1 ACCEPTED SOLUTION

Chetan1
Tera Expert

Hi @priyarao 

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.

View solution in original post

8 REPLIES 8

Priyanka136
Mega Guru

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

Chetan1
Tera Expert

Hi @priyarao 

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.

Priyanka136
Mega Guru

Hi Priya,

Any update on this one.

Thanks

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.