How to get BOLD Text and change color of text in Alert or Confirm box?
var conFrm = confirm("Following List(s) already Sent...!\n<strong>List Name: </strong>"+ss.replace(",","\n<b>Name: </b>")+"\n Do you want to send again...!");
This question is related to
javascript
alert
The alert()
dialog is not rendered in HTML, and thus the HTML you have embedded is meaningless.
You'd need to use a custom modal to achieve that.
Maybe you coul'd use UTF8 bold chars.
For examples: https://yaytext.com/bold-italic/
It works on Chromium 80.0, I don't know on other browsers...
Source: Stackoverflow.com