The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Remove a Tooltip

3 posters

Go down

Solved Remove a Tooltip

Post by Ace 1 October 23rd 2016, 03:32

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, 13:30; edited 1 time in total
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow October 24th 2016, 00:07

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
Manager
Manager

Male Posts : 6878
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 October 24th 2016, 00:22

@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 : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow October 24th 2016, 00:25

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

Male Posts : 6878
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 October 24th 2016, 13:30

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

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

Thank you @Luffy
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ape October 24th 2016, 13:31

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 : 18693
Reputation : 1959
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Back to top

- Similar topics

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