Reputation: 1331
what is wrong with my syntax i cant get it to display below. by default the popover is set to display right. i want to change this to display below. according to the documentation, i need to write placement below. but it isnt working.
$("a[rel=popover1]")
.popover({placement:'below'})
.click(function(e) {
e.preventDefault()
})
Upvotes: 1
Views: 1107
Reputation: 16472
I think it should be bottom
not below if you're using bootstrap-popover.js.
$(function() {
$('a[rel=popover]').popover({placement:'bottom'});
});
Upvotes: 3