glide modal display message

service buzz
Tera Contributor

Hi ,

 

I am unable to put spaces between see and hyperlink.

please refer the below code.

servicebuzz_0-1680238238556.png

var kbSysId = "e97ee81eff6002009b20ffffffffffe0";
var kbNum = "KB1000011";

var hyperlink = "<a href='/kb_knowledge.do?sys_id=" + kbSysId + "' target='_blank'> " + kbNum + "</a>";
var message = "Incidents with priority1  please ,see" + hyperlink+ ".";
var dialog = new GlideModal("alert_modal",true);
dialog.setTitle("alert");
dialog.setPreference("title", message);
//dialog.renderWithContent(message);
dialog.render();

12 REPLIES 12

@service buzz @service buzz 

 

Have it worked for you, Please accept the solution if it has solved your queries!

Dhruv Chandan
Giga Guru

Hi,

 

To add space to the text you'll have to use "&nbsp".

 

Hope this helps.

 

Regards,
Dhruv

thanks for ur response

&nbsp I tried but not working