I am using cluetip plugin which is great. I am populating the plugin using Ajax but I can't anywhere (in the documentation or examples) on how to set the title from an ajax callback.
Is updating the title from ajax supported in cluetip?
UPDATE NOTE:
So the suggestions given below work in the sense that they can create a title but the close button doesn't show up in the title in this case. See image below.
Actually, It is pretty easy if you see from a simple angle.
First thing to note, would be that all the cluetips in the document, use only one mark-up layout to show all the tips. Every time a new cluetip is triggered, it only updates its mark-up layout and shows it.
Lets see an example of how to work around with what you are trying
I used the demo for this. So the mark-up is:
Note:I am using two cluetips to simulate a case having multiple cluetips
Lets make a small change in the styles, so that it aligns correctly
Now, our Script, for both the clue tips.
It's DONE
Although the fiddle might not show it. I have tested it and it works.