URL using spModal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 07:37 AM
Am using spModal and am inserting a link as a variable as:
var url = '<br><a href = "https://xxxxxx.service-now.com/hrlportal?id=sc_cat_item&sys_id=XXXXXX&sysparm_category=XXXXXX">General Question.</a>';
spModal.open({
title: name,
message: 'To submit a regarding a leave question, please submit a ' + url,
width: 500,
backdrop: 'static',
buttons: [{
label: 'OK',
primary: true
},
],
});
It works just fine. Can the link color be changed in the variable string? It turns blue but it isn't very noticeable.
Thank you in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 09:27 AM
Did you try this :
<a style="color:red" href = "https://xxxxxx.service-now.com/hrlportal?id=sc_cat_item&sys_id=XXXXXX&sysparm_category=XXXXXX">General Question.</a>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 11:23 AM
I did. The color didn't change.