"trigger tooltip via button"
Bootstrap 4.0.0 Snippet by s54197

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <input class="form-control" type="text" placeholder="Default input" data-toggle="tooltip" data-placement="right" title="Tooltip on right"> </div>
.container{padding: 20px 50px;}
$(function () { $('[data-toggle="tooltip"]').tooltip() })

Related: See More


Questions / Comments: