html - 模态的数据目标不想使用数字
问题描述
我的 html 代码有问题,我无法为数据目标提供数字。
但它适用于字符(有关信息,请阅读 PS)
例子:
<button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#12"><i class="fas fa-info"></i></button>
不要打开:
<div class="modal fade" id="12" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
PS:我不能使用任何 exept 号码,因为它们在数据库中用于 id 检测。
PS 2:如果不可能,就他们吧,我会删除我的帖子:)
解决方案
推荐阅读
- html - Safari 与 Chrome 字体渲染
- javascript - 将svg中的各种形状转换为路径
- r - 通过管道工发布图像
- javascript - 增加 Z 指数
- npm - npm install 抛出与 ssl 相关的错误
- python - 使用滚动条时被文本小部件内容覆盖的 tkinter 选项卡
- python - 我的 IRC 客户端如何打印在读取传入流量的循环之前收到的数据?
- javascript - Javascript单击事件侦听器功能不起作用
- apache-spark - Spark 2.4.7 JDBC 配置单元查询 SQLException:Method not supported
- javascript - 将数组作为参数并提取数组的所有字符串并将它们放入新数组的函数: