This is easy enough to accomplish by defining your own event handlers and showing/hiding the popover via the API:
HTML:
<input id='no-popover' type='text' />
<input id='has-popover' type='text' placeholder='hover or focus me' />
JavaScript:
var showPopover = function () {
$(this).popover('show');
}
, hidePopover = function () {
$(this).popover('hide');
};
$('#has-popover').popover({
content: 'Popover content',
trigger: 'manual'
})
.focus(showPopover)
.blur(hidePopover)
.hover(showPopover, hidePopover);
Example: http://jsfiddle.net/Xqx8P/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…