springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-18 13:03:17
220
我有一个按钮&;我想添加引导确认,当我直接调用时,它工作正常,但当我在onclick事件中使用确认代码时,Bootsrap确认不起作用。这里出了什么问题?
这是我的代码:-
$('.myButton').on("click", function() {
$('[data-toggle=confirmation]').confirmation({
rootSelector: '[data-toggle=confirmation]'
});
}
<代码><;link rel=“ stylesheet ” href=“ https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css ”>;<;script SRC=“ https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js ”>;<;/script>;<;script SRC=“ https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js ”>;<;/script>;<;script SRC=“ https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js ”>;<;/script>;<;script SRC=“ https://cdnjs.cloudflare.com/ajax/libs/bootstrap-confirmation2/4.2.1/bootstrap-confirmation.min.js ” integrity=“ sha512-lhgcubuvislfr3ivmjgchm6jryvl16h/rjvsjdcfgxuahmhgmmjpavyiblutuv3ww8tjtgh2vayayfogvc84da==” crossorigin=“ anonymous ” referrerpolicy=“ no-referrer ”>;<;/script>;<;button data-toggle=“ Confirmation ” type=“ button ” Class=“ mybutton mt-5 btn btn-primary btn-convert ”>;转换<;/button>;
谢谢你!
顺晟科技:
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11