We need to show anchor tag inside the alert box, but it shows the html markup instead of rendering the link.
The demo code is as below.
alert('<a href="http://www.codeproject.com/">Code Project</a>');
<input type="button" id="show" value="show" onclick="show()">
Here the alert box shows the html of anchor like below, but not as one link.
<a href="http://www.codeproject.com/">Code Project</a>
I know that we can do this by jQuery
Thanks in advance,