+ 2
Hello, Sorry, you can not insert any HTML code into a JavaScript alert box. If you write HTML code inside an alert than it will be displayed as a simple text. An alternate solution for your requirement could be a jQuery Dialog box. The following is the reference link for the same. https://jqueryui.com/dialog/
3rd Dec 2019, 8:31 AM
Ishan Shah
Ishan Shah - avatar