這裏是我的HTML:Twitter的引導Popovers不工作
<div id="disclaimer">After 30 Days you'll have the option to keep your account for $15 per month -no contract required-or revert to a single page free account.*</div>
的JavaScript:
$('#disclaimer').popover({
trigger: 'hover',
html: true,
placement: 'right',
content: 'hello world'
});
當我將鼠標懸停在元素,沒有任何反應..沒有JavaScript錯誤什麼的,不知道什麼是錯
我把我的包裝在一個'$(document).ready'中,仍然沒有任何反應:( – dennismonsewicz
你可以把它放到腳本標籤的html中嗎?如果仍然不起作用,你可能想檢查確保你的工具提示包含在你的[bootstrap.js](http://twitter.github.io/bootstrap/javascript.html#tooltips) – Jonathan
我明白了......這是ActiveAdmin JavaScript與twitter bootstrap衝突...感謝您的幫助! – dennismonsewicz