i have gone through this site http://ajaxian.com/archives/tooltipjs-creating-simple-tooltips. and not pretty clear with coding style. i am able to show tooltip on mouse hover. but my problem is i want to do some type of formatting on the text i will show in tooltip. I will get lines of text from ajax call, but in tooltip i want to show it just like the way it is showing in the above mentioned link.