2013-07-22 88 views
1

我提出了一個JSFiddle來顯示問題;我在JSFiddle資源區域中爲我的網頁添加了所有JavaScript和CSS文件。下面是從的jsfiddle的HTML:HTML未在Twitter的引導工具提示中解析

<div class="date" title="Deadline for enrollment is 6 hours prior<br/>Session starts at 7/27/13 12:00 PM">2013/07/27<br/>12:00-12:50</div> 
<div class="fqEntity" title="Slot #30 <b>Confirmed</b> <ol style='text-align: left'><li>Why can't we breathe CO2, like plants?</li><li>Why are these questions so silly?</li><li>What if we eat lots of chlorophyll?</li><li>Can't we just implant rebreathers?</li><li>What if we genetically engineered our skin to include chloroplasts?</li><li>Do you think green skin would be considered sexy?</li><li>Would short people be called 'little green men'?</li></ol>">course_ooCompat<br/>lecture_IDEA</div> 

下面是從的jsfiddle JavaScript的:

$(function() { 
    $('*').tooltip({ 
    html: true, 
    placement: bottom 
    }) 
}); 

回答

1

放置選項的值應該是一個字符串(或功能),所以它周圍添加引號:

$(function() { 
    $('*').tooltip({ 
     html: true, 
     placement: 'bottom' 
    }) 
}); 
+0

錯過了!謝謝! –