tooltip delete and recreate for dymanic content?
I am having trouble with the tooltip where I update a section of the page then try to assign a tooltip to the updated section which then kills all existing tooltips.
Basically what appears to be happening is tooltip is being applied twice to some objects causing the tooltip to fail on those.
Imagine there are two divs and inside each is a set of items with tooltips.
$('.tooltip').tooltip();
Will enable tooltip for all items in both divs...
Now if I dynamically rebuild the contents of div1 and then run this again
$('.tooltip').tooltip();
all the items in div1 have tooltips but all items in div2 now fail because the tooltip has been applied twice.
So long story short... is there a way to purge all previous tooltip assignments so I can just run
$('.tooltip').tooltip();
which will reassign them all again without causing double ups.
Thanks