我的目标是有一个按钮,使用对话框或模式框在每一行显示特定的数据。首先,我会告诉我的脚本代码在我的主索引文件创建一个对话框: <!-- DIALOG ELEMENT REGISTRY -->
<script>
var dialog = document.querySelector('dialog');
//UNCOMMENT THE FOLLOWING
我有一个引导模式与此元素切换; <i id="modal" data-toggle="modal" data-title="Title1" data-target="#Modal"></i><span>Open modal</span>
当显示模式时,标题被设置; $('#Modal').on("show.bs.modal", function (e) {
// set title of m