Any way to disable the tooltip (title attribute) when right-clicking (contextmenu)?

Using jQuery, I would like a tooltip to work on hover and a context menu to work with a right click, but not with a tooltip hovering over my context menu. Is it possible?

+3
source share
2 answers

How about this?

Basically, run the attribute titlein the initialization of the context menu, and then reset it will disappear in the context menu.

+1
source

I think you're lucky to override the tooltip control from Internet Explorer;

However, try the following:

  • title , .
  • javascript/dom.

.

0

Source: https://habr.com/ru/post/1791902/


All Articles