Conditional Bootstrap tooltip
Advertisements I have this very simple Javascript code: $("#myinput").hover(function(){ if(condition){ $(this).tooltip({placement: "bottom", title: "mytitle"}); } ); with its HTML: <input data-toggle="tooltip" type="password" placeholder="Enter your Password" id="myinput" name="password" required /> When I load the page the condition it’s false so the tooltip correctly doesn’t show and when it becomes true it starts showing. The problem is… Read More Conditional Bootstrap tooltip