Bootbox Confirm Dialog Problems
Answer : You may want to check the source on the "Confirm" link under "Basic Usage" on this page: http://bootboxjs.com/ Here's a snippet: $("a.confirm").click(function(e) { e.preventDefault(); bootbox.confirm("Are you sure?", function(confirmed) { console.log("Confirmed: "+confirmed); }); }); Assuming jQuery is available in the UI you're working on, I'd avoid using an onClick attribute in your anchor tags. Just my two cents. I needed that too, but I changed a little few things... Take a look... Add this function into your global "jQuery Ready" function like that: $(document).on("click", "[data-toggle=\"confirm\"]", function (e) { e.preventDefault(); var lHref = $(this).attr('href'); var lText = this.attributes.getNamedItem("data-title") ? this.attributes.getNamedItem("data-title").value : "Are you sure?...