我試圖顯示禁用按鈕的工具提示。我不確定jQuery事件是否爲禁用的元素激發了,但我試圖檢查是否可以顯示禁用項目的工具提示。我的例子是here <p>Your age:
<input id="age" title="We ask for your age only for statistical purposes.">
</p>
<p>
<input type="button
因此默認情況下,工具提示是使用包含.ui-tooltip的父div創建的。有沒有什麼辦法可以做到這一點,將.ui-tooltip換成自定義格子,,而無需使用其他庫? $(tooltipTrigger).tooltip({
tooltipClass: "custom-tooltip-styling", // this works
tooltipWrapper: "<div cla