Tooltip with bold text
Tooltip with bold text
Hello folks,
First time to post here. Greetings everyone!
I'm trying to get a bold text in the tooltip I have an html something like this
...<td><div title="<b>Dude:</b>Amits">Fonz</div></td>...
In my script I can't seem to get the document to work so instead I did something like this
$("#thetable table tr td div").tooltip({
//items: "[title]",
//content: function () {
// //return $(this).attr('title');
// return "<b>That's what this widget is</b>";
//}
//content: "Awesome <b>title</b>!"
});
As you can see I have commented out those that I think would work but didn't, of course these are all based on examples from searching through google.
Nothing works with what I have.
So is this possible or should I not use the tooltip anymore but look for another way to simulate the tooltip?
Thanks