0

I want to disable an element's hover event, is it possible? I want to bind tooltips to some elements and then make sure they are not shown on mouse over but later when I want to show them I can simply call the event and they are shown. In other words, I want to somehow make sure that the event is not called unless I explicitly do so. I am very new to jQuery and I am using clueTip, a plugin for tooltips. The problem is that it doesn't have a method to explicitly show the tooltip (or I did not find one). So my only option is to show it in a callback for the click method. BTW I know it has a property to activate on click but due to some reasons, I cannot use that.

1 Answer 1

2

Removing an event-handler with jquery: $(>selector<).off('>eventType<')
or $(>selector<).unbind('>eventType<[, handler(eventObject)])
and without: element.removeEventListener(type, listener, useCapture)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.