I use the library Sweetalert, here is the github repository https://github.com/t4t5/sweetalert

It is necessary to add a link to the modal window, which would be located approximately as I indicated in the screenshot. As I understand it, you need to add it somehow with JS tools. Tell me how to implement. enter image description here

    1 answer 1

    It is necessary to add html true , false by default

     swal({ title: "Are you sure?", text: "text <a href='#'>Link</a>", html: true, confirmButtonColor: "#00f", confirmButtonText: "Button" }); 

    Example

     swal({ title: "Are you sure?", text: "text <a href='#'>Link</a>", html: true, confirmButtonColor: "#00f", confirmButtonText: "Button" }); 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script> <link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css" rel="stylesheet"/>