请选择 进入手机版 | 继续访问电脑版

bootstrap 弹窗JQ代码段

[复制链接]
查看2787 | 回复1 | 2019-7-29 13:37 | 显示全部楼层 |阅读模式
bootstrap 弹窗JQ代码段
  1. <script>
  2. jQuery(function(){
  3.     jQuery('[data-toggle="modal"]').click(function () {
  4.         var s = "11";//s为ajax返回值
  5.         jQuery(this).attr('data-content', s);
  6.         jQuery(this).popover();
  7.     }).popover();
  8. })
  9. </script>
复制代码


苹果 | 2019-8-20 05:41 | 显示全部楼层
自丢网真心不错,学习教程网。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

UID
1
贡献
387
丢币
38902
主题
4607
回帖
116
注册时间
2018-9-25
最后登录
2024-3-24