<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js">
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js">
</script>
</head>
<script>
function confirm() {
BootstrapDialog.confirm('Are you sure you want to do this?');}
</script>
<input type="button" value="confirm" onclick="confirm()" />
你好我正在尝试生成一个引导确认警报,该警报由按钮输入激活。我完全是一个初学者,所以我可能缺少一些基本的/明显的东西……非常感谢任何帮助。迈克。