Kyle Holder schrieb:
Hi,
I have a page with about 30 instances of the tool tip object on them.
These are dynamically updated divs. In order to change the text
inside the tooltip, you need to re-initialize them by calling $
("#object").tooltip(). This works perfectly. However, when I do that
too many times (the number changes), the tool completely kills
javascript in my browser. The number of "refreshes" changes (I can't
say it's 5 or 10), but it keeps happening.
Any thoughts?
Instead of reinitializing the tooltip plugin, use the bodyHandler option
to retrieve the updated tooltip. That should avoid rebinding the same
event oder and over again.
Jörn