Remove a Tooltip

Go down

Solved Remove a Tooltip

Post by Ace 1 on October 23rd 2016, 2:32 am

When you're creating a tooltip, the function is
Code:
$(element).tooltipster()

How do you remove a tooltip though? (removing the class doesn't work)


Last edited by Ace 1 on October 24th 2016, 12:30 pm; edited 1 time in total
Ace 1
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow on October 23rd 2016, 11:07 pm

@Ace 1 wrote:When you're creating a tooltip, the function is
Code:
$(element).tooltipster()

How do you remove a tooltip though? (removing the class doesn't work)
Hello @Ace 1,

Where exactly is this located and is it a tooltip with a javascript? If yes then i would suggest maybe this:
Code:
$(element).tooltipster({ display: none });
TheCrow
TheCrow
Energetic

Male Posts : 6096
Reputation : 699
Language : Greek, English
Location : Cyprus, Greece

https://www.inforumgr.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 on October 23rd 2016, 11:22 pm

@Luffy I actually want to remove the tooltip entirely. Like if I were to use this jQuery:

Code:
$('a').tooltipster();

I want a function that will remove the tooltips from those
Code:
<a>
tags.

Also, your code didn't work.
Ace 1
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow on October 23rd 2016, 11:25 pm

Have you tried (?) :
Code:
$('a').tooltipster('destroy');
TheCrow
TheCrow
Energetic

Male Posts : 6096
Reputation : 699
Language : Greek, English
Location : Cyprus, Greece

https://www.inforumgr.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 on October 24th 2016, 12:30 pm

No I haven't. This works, especially well with

Code:
$('a').removeAttr('title');

Thank you @Luffy
Ace 1
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by APE on October 24th 2016, 12:31 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


Remove a Tooltip Left1212Remove a Tooltip Center11Remove a Tooltip Right112
Remove a Tooltip Ape_b110
Remove a Tooltip Ape1010
APE
APE
Administrator
Administrator

Male Posts : 14267
Reputation : 1542
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum