Bootstrap提示框效果的实例代码(2)

<button type="button" data-toggle="tooltip" data-placement="right" title="提示信息">按钮</button> <script> $(function(){ $('#btn').tooltip(); $("#btn").on("show.bs.tooltip",function(e){ $(this).html('关闭提示'); }).on("hide.bs.tooltip",function(e){ $(this).html('打开提示'); }) }); </script>

Bootstrap提示框效果的实例代码

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wyfyzj.html