Mmmmh...

Thanks for the answer, but... It's a bit complicated no ?
I thought, maybe a :
$('#myObject").removeTooltip()
That would idealy call a function restoring all previous event
functions and releasing memory.

It has to be written for each plugin ?


On 25 mai, 16:21, Ryura <[EMAIL PROTECTED]> wrote:
> I tend to store the object before tooltip cloned in a variable, then
> when the tooltip is no longer needed, remove the old object and do a
> nice after(var);
>
> ie:
>
> var x = $("#id").clone();
> x.clueTip();
> $("#id").remove().after(x);
>
> On May 25, 9:18 am, Lideln <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Is there a way to "remove" clueTip from an object ?
>
> > Here is the thing :
> > I do some ajax in my pages, and for the emails (for example), if it is
> > read, I display a tooltip indicating the read date, and if it not, I
> > don't want to display any tooltip. But at page load it is not
> > complicated. It gets harder when I mark an email as read or not read,
> > because I have to dynamically add/remove a tooltip, and the fact is I
> > don't know how to remove it.
>
> > For information, doing :
> > $("#myObject").attr('title', '').cluetip();
> > does not do the trick.
>
> > Thanks for any help

Reply via email to