I am trying to do to Bootstrap tooltip on mouse hover on an input field of a form but it's not working. If you click on the input field, it shows the tooltip. However, I want it show on mouse hover and hide after 5 seconds. Here is the jsfiddle. This is the Javascript code.
$(function() {
$("#number").popover({
title: 'Enter Mobile Number',
content: "Please enter 10 digit mobile number prefixed by country code eg +911234567890"
});
});