I want to style(css) some bootstrap-tooltip.js tooltips, without affecting all the tooltips. I have tried many different solutions but i allways end up adding a class to the ele
Maybe this can help someone like it helped me:
Add a Custom class to your "generated" tooltip node:
$(document).ready(function() {
$(".my-class").tooltip({
tooltipClass:"my-custom-tooltip"
});
});
Sample output as last child of body element:
Applied to this questions logic:
$(function(){
$("[id$=amount]").tooltip({
trigger: 'manual',
placement: 'right'
tooltipClass:'test'
})
});
Tested using jQuery UI - v1.10.3