How to make bold letter in the alert message in the client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 02:55 AM
alert('We’ve moved. The page you are trying to access is no longer in use.')
I want the bold the words (We’ve moved! ) using xlient script with the help of Alert message .
Can you help me
Thanks,
Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 03:07 AM
Hi @chandan31 ,
This is not possible you can use g_form.addInfoMessage
var message = '<span style="font-weight: bold;">We’ve moved. </span> The page you are trying to access is no longer in use.';
g_form.addInfoMessage(message);
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 03:22 AM
Hi @chandan31 ,
I hope my response helps you to resolve your query.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak